LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Wireless and wired connection to same router, wireless not working (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wireless-and-wired-connection-to-same-router-wireless-not-working-871664/)

GeoNeil 03-29-2011 03:53 AM

Wireless and wired connection to same router, wireless not working
 
I'm using OpenSuse 11.4 and I'm trying to connect wirelessly to a BT Hub 3.0, I've tried this in Debian Squeeze (the computer is currently dual boot, though Debian may go)

I can connect through the wired interface (eth0) but not wirelessly (wlan0)

ifconfig does show that wlan0 is working and connected, traffic seems to be going into and out of the interface, but I can't access the web through it

Code:

wlan0    Link encap:Ethernet  HWaddr 00:1F:1F:E0:35:25 
          inet addr:192.168.1.65  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21f:1fff:fee0:3525/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:28054 errors:0 dropped:0 overruns:0 frame:0
          TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7432763 (7.0 Mb)  TX bytes:14152 (13.8 Kb)

iwconfig does show that wlan0 is connected to the correct to the correct hub (set up through Yast2)

Code:

wlan0    Ralink STA  ESSID:"BTHub3-HH9T" */ This is the AP I want to connect to /* Nickname:"RT2870STA"
          Mode:Managed  Frequency=2.412 GHz  Access Point: 00:FE:F4:01:C0:58 
          Bit Rate=54 Mb/s 
          RTS thr:off  Fragment thr:off
          Encryption key:BLAH-BLAH-BLAH-BLAH-BLAH-BLAH-BLAH-BLAH
          Link Quality=100/100  Signal level:-31 dBm  Noise level:-83 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0  Missed beacon:0

I've read this page and created rules that I think match my setup, but nothing changes, no net access through wireless

Output of route -n
Code:

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
192.168.1.0    0.0.0.0        255.255.255.0  U    0      0        0 eth0
192.168.1.0    0.0.0.0        255.255.255.0  U    0      0        0 wlan0
169.254.0.0    0.0.0.0        255.255.0.0    U    0      0        0 eth0
127.0.0.0      0.0.0.0        255.0.0.0      U    0      0        0 lo
0.0.0.0        192.168.1.254  0.0.0.0        UG    0      0        0 eth0

output of ip route show
Code:

192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.64
192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.65
169.254.0.0/16 dev eth0  scope link
127.0.0.0/8 dev lo  scope link
default via 192.168.1.254 dev eth0

Output of ip neigh show
Code:

192.168.1.254 dev eth0 lladdr 94:fe:f4:01:c0:56 REACHABLE
Notice there's no entry at all for wlan0

Would the fact that there is only one gateway (192.168.1.254) and that both interfaces get IP addresses in the same range be a problem? Have I busted my setup even more? I'd like to be able to take my PC to another and still have internet access without having to install cables everywhere.

GeoNeil 03-30-2011 04:45 AM

Managed to get it working in OpenSuse 11.4 using KDE.

When I had the problem connecting to Wifi, I was using ifup to manage my connections, a bit of googling reminded me that NetworkManager's applet in KDE doesn't work particularly well with mobile broadband and Wifi connections and that GNOME's applet works a lot better.

So I solved it by switching over to NetworkManager to manage my connections, removing the NetworkManager KDE applet, then installing the GNOME version, then changing adding the GNOME applet (nm-applet) to my autostart settings.

Of course I think that this does mean that I'd need to be logged in as a user and possibly have X running as well to get online, with ifup it worked at boot time, but at least I get Wifi when I want it.


All times are GMT -5. The time now is 12:02 PM.