Advertisement
Guest User

Untitled

a guest
Dec 15th, 2011
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.63 KB | None | 0 0
  1. mpulis@MythTV:~$ sudo /sbin/wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/openwrt.conf -Dwext -B
  2. ioctl[SIOCSIWENCODEEXT]: Invalid argument
  3. ioctl[SIOCSIWENCODEEXT]: Invalid argument
  4. mpulis@MythTV:~$ sudo ifdown wlan0
  5. ifdown: interface wlan0 not configured
  6. mpulis@MythTV:~$ cat /etc/network/interfaces
  7. auto lo
  8. iface lo inet loopback
  9.  
  10. auto wlan0
  11. iface wlan0 inet dhcp
  12.  
  13.  
  14. pre-up sudo /sbin/wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/openwrt.conf -Dwext -B
  15. pre-up sleep 5
  16. post-down sudo killall -q wpa_supplicant
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24. mpulis@MythTV:~$ cat /etc/wpa_supplicant/openwrt.conf
  25. ctrl_interface=/var/run/wpa_supplicant
  26.  
  27. network={
  28.         ssid="OpenWrt_WEP"
  29.         scan_ssid=1
  30.         key_mgmt=NONE
  31.         wep_key1="SecreLaaaa!56"
  32.         auth_alg=SHARED
  33. }
  34.  
  35. mpulis@MythTV:~$ iwconfig
  36. lo        no wireless extensions.
  37.  
  38. eth0      no wireless extensions.
  39.  
  40. wlan0     IEEE 802.11g  ESSID:off/any
  41.           Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated
  42.           Bit Rate:48 Mb/s   Sensitivity=-200 dBm
  43.           RTS thr=2346 B   Fragment thr=2346 B
  44.           Power Management:off
  45.           Link Quality:0  Signal level:0  Noise level:0
  46.           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  47.           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
  48.  
  49.  
  50. mpulis@MythTV:~$ ifconfig -a
  51. eth0      Link encap:Ethernet  HWaddr 00:19:66:97:ec:e1
  52.           inet addr:10.0.0.35  Bcast:10.0.0.255  Mask:255.255.255.0
  53.           inet6 addr: fe80::219:66ff:fe97:ece1/64 Scope:Link
  54.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  55.           RX packets:44167 errors:0 dropped:0 overruns:0 frame:0
  56.           TX packets:59688 errors:0 dropped:0 overruns:0 carrier:0
  57.           collisions:0 txqueuelen:1000
  58.           RX bytes:2974909 (2.9 MB)  TX bytes:64750528 (64.7 MB)
  59.           Interrupt:19 Base address:0xd400
  60.  
  61. lo        Link encap:Local Loopback
  62.           inet addr:127.0.0.1  Mask:255.0.0.0
  63.           inet6 addr: ::1/128 Scope:Host
  64.           UP LOOPBACK RUNNING  MTU:16436  Metric:1
  65.           RX packets:604 errors:0 dropped:0 overruns:0 frame:0
  66.           TX packets:604 errors:0 dropped:0 overruns:0 carrier:0
  67.           collisions:0 txqueuelen:0
  68.           RX bytes:46916 (46.9 KB)  TX bytes:46916 (46.9 KB)
  69.  
  70. wlan0     Link encap:Ethernet  HWaddr 00:26:f2:b3:3d:f8
  71.           UP BROADCAST MULTICAST  MTU:1500  Metric:1
  72.           RX packets:365 errors:0 dropped:0 overruns:0 frame:0
  73.           TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
  74.           collisions:0 txqueuelen:1000
  75.           RX bytes:30338 (30.3 KB)  TX bytes:18144 (18.1 KB)
  76.           Interrupt:18 Memory:cffd0000-cffe0000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement