LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Network not working (https://www.linuxquestions.org/questions/linux-wireless-networking-41/network-not-working-410202/)

tywarren 01-31-2006 08:14 PM

Network not working
 
have pavilion with bulit in broadcom adaptor. Running suse 10. Have set up ndiswrapper with broadcom drivers and everything is going good until i try to get on net. The card is detected and so it my network and have set the wep key and essid on card and there both there when i run iwconfig wlan0 yet i can not get on net. How do i set up under yast or what else needs to be done so that i can acces networ

jschiwal 01-31-2006 09:00 PM

Are you using a wireless router? Are you using static or dynamic addressing?
You might want to post the output of ifconfig, route, and the /etc/resolv file. It sounds like you
either don't have a correct default route, or you don't have the nameserver entries in /etc/resolv.

You implied that local networking is working fine: "everything is going good", so it sounds more like a normal networking problem rather than a wireless issue.

tywarren 02-01-2006 07:29 AM

Network
 
Here is the posting from ifconfig and route:

SRC2204:/home/tywarren # ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:90:4B:A3:1C:97
inet addr:192.168.0.105 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::290:4bff:fea3:1c97/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:207 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:68892 (67.2 Kb) TX bytes:2210 (2.1 Kb)
Memory:e8204000-e8205fff

SRC2204:/home/tywarren # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 0 0 0 wlan0
loopback * 255.0.0.0 U 0 0 0 lo

The resolv file was empty minus the words domain.

I noticed on bootup of OS I had ip address but the DHCP client was not connected.

jschiwal 02-01-2006 07:11 PM

You may be using a static address. In YaST, you can edit the settings for the wlan0 interface to use DHCP. If you use DHCP, then the nameserver information will be filled in automatically in the /etc/resolve.conf file. Also, a route entry will be added with default gateway ( the router ) and the interface to reach it ( wlan0 ). If you can ping the wireless router, then the wep settings should be correct.

Besides just setting the interface to use DHCP, on the bottom of the screen are 3 buttons for advanced settings. One of them is a drop down list for DHCP. Try clicking the box about reporting the host name to DHCP, and enter your hostname where it wants it. I'm not at home right now, so I can't look up the exact wording used.

Make sure that the Default Gateway is entered the wlan0 configuration:
In the Detailed Settings section on the bottom of the page, click on the Routing button, and enter the address of your router.

If you are using DHCP, then also click on the "Hostname and Nameserver" box, and make sure that the "Change Host Name via DHCP" box is checked. Also, check the "Update Name Servers and Search List via DHCP" box. This is where you say, yes, the DHCP server should provide the Name Server information.

In the Advanced... -> Detailed Settings, what is selected for the "Firewall Zone". If it is External Zone, for example, make sure that "DHCP Client" is allowed through the firewall.

Since iwconfig is showing an IP address, if this was supplied by DHCP, I think one of these settings is needed.


All times are GMT -5. The time now is 08:59 PM.