LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-22-2009, 01:33 PM   #1
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Rep: Reputation: 40
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
but the system still does not get the ip address of my network.

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)
My 2nd Question: How can i set up the desktop to connect to my network?

thanks
 
Old 05-22-2009, 02:14 PM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
On your desktop box, type in a terminal as root and post results:
Code:
ifconfig -a
On your laptop, post results of
Code:
lsmod | grep eepro100
and
Code:
lsmod | grep ee100

Last edited by mdg; 05-22-2009 at 02:15 PM. Reason: spelling
 
Old 05-23-2009, 12:19 AM   #3
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Original Poster
Rep: Reputation: 40
This is my ifconfig -a for my desktop

Code:
eth0      Link encap:Ethernet  HWaddr 00:00:e2:4d:0b:0a
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:112 errors:0 dropped:0 overruns:0 frame:0
          TX packets:112 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9536 (9.3 KiB)  TX bytes:9536
And what does the last 2 commands check for?
I try on my laptop and desktop, both return no results.

Thanks for the help
 
Old 05-23-2009, 01:19 AM   #4
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
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
Restart network:
Code:
 /etc/rc.d/rc.inet1 restart
Check interface:
Code:
ifconfig -a
All commands must be root.
 
Old 05-23-2009, 04:52 AM   #5
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Original Poster
Rep: Reputation: 40
Hi,

tried to modprobe and restart the network. Still cannot connect to the network.

I try to issue the command
Quote:
dhclient eth0
and these are the results it prompt:

Quote:
Listening on LPF/eth0/00:00:e2:4d:0b:0a
Sending on LPF/eth0/00:00:e2:4d:0b:0a
DHCPDISCOVER eth0 to 255.255.255.255 port 7
DHCPDISCOVER eth0 to 255.255.255.255 port 15
DHCPDISCOVER eth0 to 255.255.255.255 port 20
DHCPDISCOVER eth0 to 255.255.255.255 port 18
DHCPDISCOVER eth0 to 255.255.255.255 port 1
No DHCPOFFERS received
No working leases in persistent database - sleeping
Next i issue the command ifconfig -a and this is what it prompt which is something differnet from my previous post. After the command dhclient eth0, a new line in bold appears. Still i not able to surf net
Quote:
Link encap:Ethernet HWaddr 00:00:e2:4d:0b:0a
inet6 addr: fe80::200:e2ff:fe4d:b0a/64 Scope: Link
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
What can i do next?
Btw how do you know that the driver is eep100 by the way? is it because it is a standard in slackware?

thanks

Last edited by vitalstrike82; 05-23-2009 at 05:17 AM.
 
Old 05-23-2009, 05:31 AM   #6
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
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
There are also sites which list the eepro100 as the driver, so it's not clear which it is.

Try installing the ee100 module:
Code:
modprobe ee100
If no error is returned, restart the network and check the interface to see if you have IP.

If that doesn't work, you could try bringing up the interface with your IP address:
Code:
ifconfig eth0 up xxx.xxx.xxx.xxx
xx is of course your IP.
This last step depends on there being no error returned from the modprobe command.
 
Old 05-23-2009, 09:45 AM   #7
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Original Poster
Rep: Reputation: 40
when i use modprobe eepro100, it does not return any errors. I will install the ee100 and update later..
thanks
 
Old 05-23-2009, 10:04 AM   #8
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
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

Last edited by rob.rice; 05-23-2009 at 10:12 AM.
 
Old 05-23-2009, 11:36 AM   #9
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Original Poster
Rep: Reputation: 40
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.
WHats the solution to solve this error or when can i find this ee100 driver suitable for slackware?
 
Old 05-23-2009, 11:46 AM   #10
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
The eepro100 kernel module is blacklisted by default in /etc/modprobe.d/blacklist.
Try commenting out the line in the blacklist file.
 
Old 05-23-2009, 01:49 PM   #11
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Original Poster
Rep: Reputation: 40
hi,
i have tried the ways you all have suggested:

1) this is available in the inet1.conf file

Quote:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
2) I have comment the eepro100 in the blacklist file. I have even add a new blacklist on ee100

3) i have force an address on eth0.

All steps still cannot allow me to ping to google website successfully.

Any other solutions?

thanks
 
Old 05-24-2009, 07:18 AM   #12
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
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.
 
Old 05-24-2009, 11:06 PM   #13
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Original Poster
Rep: Reputation: 40
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
 
Old 05-25-2009, 08:50 AM   #14
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
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'.
 
Old 05-26-2009, 09:12 AM   #15
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Original Poster
Rep: Reputation: 40
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
mii     8448   1 e100
when i modprobe, there are no errors. now i lost.. i dunno what can i do.. any suggestions from you guys?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to connect to Internet using Slackware 12.1 darkstar01 Linux - Newbie 23 11-13-2008 07:57 PM
Why I cant connect to the internet with slackware 12.1? ashkael Linux - Networking 4 09-25-2008 10:26 AM
how connect Slackware 12.0 to internet? niceday Linux - Networking 9 07-21-2007 01:45 AM
Can't connect to internet under Slackware 11.0 nisi Linux - Networking 2 02-06-2007 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration