LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Network seen but no IP address? (https://www.linuxquestions.org/questions/linux-newbie-8/network-seen-but-no-ip-address-631507/)

Ace Blackwell 03-29-2008 10:06 AM

Network seen but no IP address?
 
Good day all,

First I'm running Slackware 12.0 on a dual boot with LILO 22.8. I have a HP ze5730 with a broadcom 4306 card. I have a DSL modem hooked to a linksys WRT54G router. I have never been able to get a signal in Linux. I have tried fwcutter and ndiswrapper.

Ndiswrapper installed the driver, per the ndiswrapper -l. But nothing. Rereading and finding out I misunderstood the scope of fwcutter, I installed the firware from BCMWL5.sys. This allowed KDE3.5 (Kwifi manger) to see my linksys network, along with a few near by networks in the neigborhood. I get a weak to strong signal at times. It gives a MAC address that i assume is from the router, but no IP address, and I can't access my router through 192.168.1.1. I can't get on internet through firefox, nor can I get on internet through any other mail/chat programs installed.

Any ideas on where I need to look to correct something. Oh and also I checked the Network scanner program and keeps looking at 127.0.0.1. Is this a significant address or am I to change it to a different one to scan or ping out?

Thanks, now I'm off to RTM.

Ace

gankoji 03-29-2008 11:59 AM

Congrats on getting your broadcom card to function in Slack, that's an achievment all in itself! What you should do is once you have connected to the network, go to a root shell (ctl+alt+F2 and login) and type dhcpcd wlan0. This will start the dhcp(Dynamic Host Configuration Protocol) client daemon, which will configure your connection and get you an IP address from the local DHCP server. Once you do that you should be able to get to the internet.

onebuck 03-29-2008 12:23 PM

Hi,

You can use the kernel module or Ndiswrapper with the M$ driver but not both.

The broadcom chipset is supported in Slackware 12.0 '/lib/modules/2.6.21.5-smp/kernel/drivers/net/wireless/bcm43xx/bcm43xx.ko'.

You could do a 'lspci -vv' to confirm the device. You can see if the modprobe will load the device module. Then do a 'ifconfig -a' to see if it indeed is shown. If it does then just do a 'netconfig' to setup.

For 'Ndiswrapper';
Quote:

from Ndiswrapper;
53. Card: Broadcom BCM94306MP built-in HP Pavilion ze4560us laptop

*
Chipset: Broadcom 94306
*
pciid: 14e4:4320 (rev 02)
*
Driver: Use driver for Dell Truemobile 1300
*
Other: Gentoo 2.6.4-r1, NdisWrapper 0.8/0.9 manual compile/install (ebuild does not work). Works fine except dmesg reports “ndiswrapper (add_Driver:1539): Cannot add duplicate driver” Consistent 3.1MB/s thruput, peak at 3.7MB/s. No dropoff in thruput , no instability.
You should be using the Dell driver for Ndiswrapper.

If you indeed got the device active before with ndiswrapper then you should setup a static IP to confirm.

I would setup a static IP first, do as root from cli;

Code:

~#ifconfig -a                      #get recognized devices
~#ifconfig eth0 192.168.1.10      #set to a available IP
~#route add default gw 192.168.1.1 #set to your gateway
~#route -n                        #show the route table
~#ifconfig eth0 up                #should be up already
~#ping 192.168.1.1                #ping your gateway
~#ping 208.69.32.130              #google.com IP
~#ping google.com                  #test DNS, if fail then
                                  #check /etc/resolv.conf

Once you have a static IP working then if you need to use DHCP then run 'netconfig' again or edit the '/etc/rc.d/rc.inet1.conf'. You can restart init with '/etc/rc.d/rc.inet1 restart' from the cli as root.


All times are GMT -5. The time now is 05:42 AM.