Not able to connect to internet in slackware
Greetings,
i'm trying to connect to the ethernet using my ethernet cable but it seems that my Desktop is not able to get and ip address. I connect the cable to my laptop, using slackware OS too, it can connect and surf the internet. Before i install my Desktop with slackware, i have tried connecting to the internet using windows which shows that the network card is working. I have tried to use this command as root: Code:
/etc/rc.d/rc.inet1 restart I wonder if slackware has install my network card in my system. My 1st question: How do i check if my network card has been install and configure in the system? This is the network card in my desktop when i use lspci command: Code:
01:080 Ethernet controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (rev 01) thanks |
On your desktop box, type in a terminal as root and post results:
Code:
ifconfig -a Code:
lsmod | grep eepro100 Code:
lsmod | grep ee100 |
This is my ifconfig -a for my desktop
Code:
eth0 Link encap:Ethernet HWaddr 00:00:e2:4d:0b:0a I try on my laptop and desktop, both return no results. Thanks for the help |
The last two commands check for thr presence of the drivers for your NIC.
Your card's driver is the eepro100. For some reason it doesn't show up on your laptop, which you say can connect to the internet. Try inserting the module manually as root on your desktop and then restart the network. Load module: Code:
modprobe eepro100 Code:
/etc/rc.d/rc.inet1 restart Code:
ifconfig -a |
Hi,
tried to modprobe and restart the network. Still cannot connect to the network. I try to issue the command Quote:
Quote:
Quote:
Btw how do you know that the driver is eep100 by the way? is it because it is a standard in slackware? thanks |
Did the modprobe command return an error message?
The eepro100/ee100 modules come from internet searches (example). Relevant section: Code:
82801BA/BAM/CA/CAM Ethernet Controller pci e100 Intel Corporation Intel Corporation EtherExpress PRO/100 VE Try installing the ee100 module: Code:
modprobe ee100 If that doesn't work, you could try bringing up the interface with your IP address: Code:
ifconfig eth0 up xxx.xxx.xxx.xxx This last step depends on there being no error returned from the modprobe command. |
when i use modprobe eepro100, it does not return any errors. I will install the ee100 and update later..
thanks |
did you tell /etc/rc.d/rc.inet1 to use dhcp on eth0 in /etc/rc.d/rc.inet1.conf ?
like so # Config information for eth0: IPADDR[0]="" NETMASK[0]="" USE_DHCP[0]="yes" DHCP_HOSTNAME[0]="" most of the time this is all you need to do to get slak on the net with a broad band connection this is also the point you should where you should have a root pass word set |
i have downloaded the e100 driver from : http://downloadcenter.intel.com/Deta...1&DwnldID=2896
installer: e100-3.5.17.tar.gz When issue make install command, this is the error: Code:
make[1]: Warning: File '/usr/src/linux-2.6.24.5/arch/x86/Makefile_32.cpu' has modification time 2.3e+08 s in the future scripts/Makefile.build:46 *** CFLAGS was changed in '/home/CM/Desktop/e100-3.5.17/src/Makefile". Fix it to use EXTRA_CLFAGS. |
The eepro100 kernel module is blacklisted by default in /etc/modprobe.d/blacklist.
Try commenting out the line in the blacklist file. |
hi,
i have tried the ways you all have suggested: 1) this is available in the inet1.conf file Quote:
3) i have force an address on eth0. All steps still cannot allow me to ping to google website successfully. Any other solutions? thanks |
I think that you need the e100 kernel module to drive this ( I have an 82801 CAM in my laptop). The required module is part of the default Slackware install. Perhaps you should try reinstalling the kernel-modules package to ensure that all your kernel modules are OK. Also return the blacklist file to its original state. BTW I hope you know that when you edit a file in /etc/modprobe.d, you should remove any editor backup files. ALL files in /etc/modprobe.d are inspected when looking for module loading information. This is a very common source of problems.
After a reboot, check the output of 'lsmod | grep e100'. If nothing shows, then the kernel module is not being loaded. Try (as root), manually loading with 'modprobe -v e100' and look for any error messages. |
Hi,
i forgot to add in something. Before i uncomment to blacklist the eepro100, i'm able modprobe eepro100. However when i issue modprobe ee100, it says e100 not found. Even when i uncomment to blacklist eepro100, after restarting the whole system, i'm still able to modprobe the eepro100. ee100 is not able to modprobe. Beofore i come to post this question here, i have format the root partition and reinstall the slackware 12.1 again without encountering any errors. I like to ask if is there amy command or ways to check if e100 is installed into my system since it is part of the default slackware install. Thanks |
To check whether the module is available you can do:
'ls /lib/modules/$(uname -r)/kernel/drivers/net' You should see e100.ko amongst the list. You say you are issuing 'modprobe ee100'. It should be 'modprobe e100'. If the module has been loaded, then it will show in the output of 'lsmod'. |
Oh gosh...
i blacklist e100 and modprobe eepro100 then /etc/rc.d/rc.inet1 restart ifconfig still no ip address. I blacklist eepro100 modprobe e100 restart network still no ip address using lsmod | grep e100 or lsmod | grep eepro100 They return answers eg for e100: Code:
e100 35724 0 |
All times are GMT -5. The time now is 04:12 AM. |