VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Problem with VL 7 and usb wifi  (Read 2378 times)

montyny

  • Member
  • *
  • Posts: 10
Problem with VL 7 and usb wifi
« on: December 06, 2011, 07:13:57 pm »

Hi,
I have just installed VL 7 on an old IBM T21. I have tried two USB wifi dongles without any success connecting to my home WEP network.

Through vasm, I have had some luck. At different times I have been able to see networks in range. Vasm didn't actually seem to save my config - the encryption or ESSID. It did create a file in /etc/wireless fo rthe network that I would try to connect to  - however it was zero bytes. If I copied the blankessid to it and set the encryption key in there it still did not work.

I tried the how-to post at the top of the list - interesting that refers to /etc/modprode.conf - but that doens't exist. Instead there is an /etc/modprobe.d directory with a network.conf but that only contained eth0 (which I'm using now).

I've pasted some of the output from the terminal - hopefully that will shed some light. I appreciate any help. VL runs pretty well otherwise on this old machine and xfce4 looks pretty impressive as well.

Thanks.
Code: [Select]
root:# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

Interestingly when I ran vasm to start the eth0 network it referred to /etc/modprobe.conf ...
Code: [Select]
root:# vasm
$DCMD --backtitle "$BACKTITLE" --title "$TITLE" --menu "$TEXT" $DIMENSION \
inet1 "DEVICE=eth0, DHCP" \
inetd "DEVICE=, DHCP" \
2> $freply
Starting network eth0 using a DHCP server...
dhcpcd[3715]: version 5.2.12 starting
dhcpcd[3715]: eth0: using hwaddr 00:01:03:85:34:03
dhcpcd[3715]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
dhcpcd[3715]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason CARRIER
dhcpcd[3715]: eth0: broadcasting for a lease
dhcpcd[3715]: eth0: sending DISCOVER (xid 0x3bb758af), next in 3.92 seconds
dhcpcd[3715]: eth0: offered 10.192.168.145 from 10.192.168.1
dhcpcd[3715]: eth0: sending REQUEST (xid 0x3bb758af), next in 4.12 seconds
dhcpcd[3715]: eth0: acknowledged 10.192.168.145 from 10.192.168.1
dhcpcd[3715]: eth0: checking for 10.192.168.145
dhcpcd[3715]: eth0: sending ARP probe (1 of 3), next in 1.51 seconds
dhcpcd[3715]: eth0: sending ARP probe (2 of 3), next in 1.09 seconds
dhcpcd[3715]: eth0: sending ARP probe (3 of 3), next in 2.00 seconds
dhcpcd[3715]: eth0: leased 10.192.168.145 for 604800 seconds
dhcpcd[3715]: eth0: adding IP address 10.192.168.145/24
dhcpcd[3715]: eth0: adding route to 10.192.168.0/24
dhcpcd[3715]: eth0: adding default route via 10.192.168.1
dhcpcd[3715]: eth0: writing lease `/var/lib/dhcpcd/dhcpcd-eth0.lease'
dhcpcd[3715]: eth0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks', reason BOUND
dhcpcd[3715]: forking to background
dhcpcd[3715]: forked to background, child pid 3737
eth0      Link encap:Ethernet  HWaddr 00:01:03:85:34:03 
          inet addr:10.192.168.145  Bcast:10.192.168.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:83 errors:0 dropped:1 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:25909 (25.3 Kb)  TX bytes:1560 (1.5 Kb)
          Interrupt:11 Base address:0x4400


grep: /etc/lilo.conf: No such file or directory
cat: /etc/modprobe.conf: No such file or directory
ra0       Ralink STA 
Reading another post, I also tried vwifi (which looked very similar)
Code: [Select]
root:# vwifi
cat: /etc/wifi-radar/wifi-radar.conf: No such file or directory
cp: cannot stat `/etc/wifi-radar/wifi-radar.conf': No such file or directory
ra0
/sbin/vwifi: line 80: /etc/wifi-radar/wifi-radar.conf.tmp: No such file or directory
cat: /etc/wifi-radar/wifi-radar.conf: No such file or directory
mv: cannot stat `/etc/wifi-radar/wifi-radar.conf': No such file or directory
mv: cannot stat `/etc/wifi-radar/wifi-radar.conf.tmp': No such file or directory
ra0
cat: /etc/interface: No such file or directory
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device ra0 ; Network is down.
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device ra0 ; Network is down.
dhcpcd[4026]: dhcpcd not running
dhcpcd[4027]: version 5.2.12 starting
dhcpcd[4027]: ra0: broadcasting for a lease
dhcpcd[4027]: timed out
dhcpcd[4051]: version 5.2.12 starting
dhcpcd[4051]: ra0: broadcasting for a lease
dhcpcd[4051]: timed out
eth0      Link encap:Ethernet  HWaddr 00:01:03:85:34:03 
          inet addr:10.192.168.145  Bcast:10.192.168.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3039 errors:0 dropped:8 overruns:0 frame:0
          TX packets:1716 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3480010 (3.3 Mb)  TX bytes:212884 (207.8 Kb)
          Interrupt:11 Base address:0x4400

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:168 errors:0 dropped:0 overruns:0 frame:0
          TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13020 (12.7 Kb)  TX bytes:13020 (12.7 Kb)

ra0       Link encap:Ethernet  HWaddr 00:E0:4C:00:FC:E7 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:110394 (107.8 Kb)  TX bytes:20900 (20.4 Kb)

root:# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

irda0     no wireless extensions.

ra0       Ralink STA  ESSID:"11n-AP"  Nickname:"RT2870STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Bit Rate:1 Mb/s   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
Logged

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Re: Problem with VL 7 and usb wifi
« Reply #1 on: December 06, 2011, 08:45:51 pm »

once you plug in your usb wifi...did wicd recognize it?

PS: u might want to configure wicd to use the correct NIC name...
Logged

montyny

  • Member
  • *
  • Posts: 10
Re: Problem with VL 7 and usb wifi - solved
« Reply #2 on: December 07, 2011, 04:54:48 pm »

Thanks.

I wasn't aware of wicd and the tray icon for it.

With the Ralink wicd didn't seem to recognize it. However, plugging in the TEW-424UB that I have, it did recognize that. After checking the encryption on the router I was able to get it to associate and connect  :)

I'm using it wirelessly now, hopefully it will keep working.

Cheers,
Bryan.
Logged

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Re: Problem with VL 7 and usb wifi
« Reply #3 on: December 07, 2011, 11:27:52 pm »

is this your ralink wireless?

Quote
ra0       Link encap:Ethernet  HWaddr 00:E0:4C:00:FC:E7 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:110394 (107.8 Kb)  TX bytes:20900 (20.4 Kb)

did you change your wicd to use ra0 instead of ethX that come default in wicd...
Logged

montyny

  • Member
  • *
  • Posts: 10
Re: Problem with VL 7 and usb wifi
« Reply #4 on: December 08, 2011, 06:00:28 pm »

is this your ralink wireless?

Quote
ra0       Link encap:Ethernet  HWaddr 00:E0:4C:00:FC:E7 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:110394 (107.8 Kb)  TX bytes:20900 (20.4 Kb)

did you change your wicd to use ra0 instead of ethX that come default in wicd...

Yes, initially when I tried wicd with it plugged in I didn't get anything. Instead I plugged in the other usb wifi dongle and wicd reconized that. So far i haven't bothered to try the ralink again. I'm glad to say that having powered down the laptop a few times and back on, wifi works flawlessly now. I might get brave at some point and try the ralink device  :D
Logged