Malke Routh wrote:
On Mon, 2004-03-08 at 00:04, Koenraad Lelong wrote:
Hi, I'm setting up a laptop with a wireless card. I managed to get it working so I can ping the ADSL-router/access-point, and another PC on the same router. What I can't do is get out through the router. I can get the web-page of the router, but nothing of the Internet. I can't even ping to the Internet. All I get is 'network unreachable' or something like this. When I do ifstatus, all seems OK : gateway points to the router, DNS points to the router. resolv.conf is 'nameserver 192.168.9.1' = IP-address of the router. With Ethereal I sniffed my pings, but when I try to go "outside" there's nothing. Enabling or disabling the firewall does not help. When I plug in the cable of the wired NIC (and remove the wireless card), everything works fine. Can anyone provide some pointers where to look next ? TIA --
When I set up my X31, I had the same issue as you. Could ping the lan, but not get out to the Internet. I had to add two lines to ifcfg-wlan0 (or the appropriate file for your card). Here is what that file needs to look like:
BOOTPROTO='dhcp' MTU='' REMOTE_IPADDR='' STARTMODE='onboot' DHCLIENT_MODIFY_RESOLV_CONF='yes' DHCLIENT_SET_DEFAULT_ROUTE='yes' UNIQUE='the unique key SUSE/YaST uses to identify the device' (I didn't put anything in here) WIRELESS_ESSID='your ESSID' WIRELESS_KEY='put the hex wep key, if wep enabled' WIRELESS_MODE='Managed' WIRELESS_NICK='' WIRELESS_NWID=''
The two lines about DHCLIENT especially have to be added or SUSE will get the card's ip address from dhcp but won't set the dns resolution and add a default route. I also went into network settings from YaST and manually set the gateway to the router. I also put in the same dns settings that I saw on the desktop, although that probably isn't necessary since I let dhcp set dns. Whatever, it worked then perfectly.
Cheers,
Malke
This did help, thanks. Maybe not completely, but lack of time prevented further tests. At first I could not ping, but the 'network unreachable' message did not appear, so I disabled the firewall, then all went fine. I'll have to test more with the firewall. I also think I had to disable some line in the ifcfg-file, also DHCP related, but again, I'm not certain. I will do some more tests, but this will be next weekend I'm affraid. Thanks again. -- Met vriendelijke groeten, Koenraad Lelong R&D Manager ACE electronics n.v.