LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-17-2005, 06:00 PM   #1
Sherlok
Member
 
Registered: Oct 2004
Posts: 34

Rep: Reputation: 15
Slack 10 network problems


Hey guys, got a small problem here. A long time ago I installed slack 10 and had it running fine. Since then I've uninstalled and gone back to WinXP. Now that I'm a little further along, I wanted to give the new slack 10.2 a try, so I was planning on installing my slack 10 and upgrading it via swaret or something.

Anyways, I've got slack 10 installed and xfce running fine, but I can't seem to get the internet up. I'm connecting to cable internet via my onboard Nforce Ethernet into a Router.

The slack isntallation is on a 20 gig partition on teh same HD as my WinXp partition, which connects to the internet fine.

I've tried

#netconfig
# /etc/rc.d/rc.inet1 restart

to no avail.

when I restart, it jsut sets my MAC address and returns me to the prompt.

If I try jsut running dhcpcd it said "dhcpcd. not running", and if I do dhcpcd -d -k, it seems to just sit there and tiem out

The weird thing is, my router recognizes it, under my dhcp table it's got an ip/mac address assigned to it and the name I assigned it when I ran netconfig.

lspci shows the Nforce ethernet on the lsit, but when I run lsmod I can't seem to find it on that list.

Just one last note, after all that in me /var/log.messages I have this

/etc/rc.d/rc.inet1: /sbin/dhcpcd -d -t 10 -h b0x eth0

b0x being the name assigned to my computer.

anyone have any ideas/things to try? I'm completely lost here.

Edit: ok just tried somethign else

# ping -c 3 127.0.0.1

seems to work fine, no packet loss and every packet goes through without a hitch

# ping 3 127.0.0.1

gives me a 'network unreachable' error. thought it was odd.

Last edited by Sherlok; 11-17-2005 at 06:26 PM.
 
Old 11-17-2005, 06:30 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,758

Rep: Reputation: 77
So, the only problem is your PC is not assigning an IP address via dhcp?
 
Old 11-17-2005, 06:31 PM   #3
Sherlok
Member
 
Registered: Oct 2004
Posts: 34

Original Poster
Rep: Reputation: 15
I'm not sure exactly what the problem is. The routers assigned me an ip, but yea, it seems the pc doesn't pick it up.
 
Old 11-17-2005, 06:34 PM   #4
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
Your router isnt a DHCP server? whats the ip address of your router?
what does "ifconfig" show?
In windows what does "ipconfig /all" show?

Last edited by Dankles; 11-17-2005 at 06:36 PM.
 
Old 11-17-2005, 06:54 PM   #5
Sherlok
Member
 
Registered: Oct 2004
Posts: 34

Original Poster
Rep: Reputation: 15
The router is set up for DHCP, it assigns my Windows install one, as well as my 3 other roomates (all running win xp).

Here's that output

Code:
# ifconfig

Ethernet adapter Local Area Connection:

Last edited by Sherlok; 11-18-2005 at 09:25 PM.
 
Old 11-17-2005, 07:01 PM   #6
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,758

Rep: Reputation: 77
It does not seem your NIC driver is loaded or included in the kernel. Did you check and see if a driver for Linux is available?

What is the model number of the NIC? Also, what kernel are you running?
 
Old 11-17-2005, 07:30 PM   #7
Sherlok
Member
 
Registered: Oct 2004
Posts: 34

Original Poster
Rep: Reputation: 15
I checked for available drivers and there were some. grabbed the .tgz and isntalled it as root, didnt seem to make a difference.

As far as the model number, that I dont know. It's onboard, but if it helps I have an Asus A7N8X-X which uses the Nforce 2 chipset. So the Ethernet is a Nvidia Nforce 2 thing.

These are what I grabbed: http://www.nvidia.com/object/linux_nforce_1.0-0248.html

As far as the kernel, I'm not too keen on any of that (pretty much a linux noob), so I installed the kernel that I used throughout the installation, vmlinuz comes to mind.
 
Old 11-17-2005, 07:47 PM   #8
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
see what "lspci" shows,:
Code:
lspci | grep Ethernet
for an nforce2 eth card you should see a line that looks similar to this (this is what mine shows)
---------------------------
00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)
---------------------------
If you cant find any eth cards, try upgrading the kernel, I'm using 2.6.13. (if you need help with that let me know)

If you find the card try this:
Code:
# ifconfig eth0 192.168.1.102 broadcast 192.168.1.255 netmask 255.255.255.0
Code:
# route add default gw 192.168.1.1

Last edited by Dankles; 11-17-2005 at 07:48 PM.
 
Old 11-17-2005, 08:12 PM   #9
Sherlok
Member
 
Registered: Oct 2004
Posts: 34

Original Poster
Rep: Reputation: 15
a closer look at the drivers i got shows there a tad old, I grabbed some ones from august off the nvidia site. when I was installing them it through a fuss about not being able to find a kernel interface and made it's own. Got an error when installing the sound drivers, but the network ones installed fine.

lspci gives me a line identical to what you put up.

typed in both those commands and restarted, still nothing..

if this helps i did a ifconfig eth0, which i didn't post yet

Code:
# ifconfig eth0

lo      Link encap: Ethernet HWaddr: (The Mac Address, got lazy didnt right it down)
         BROADCAST MULTICAST  MTU: 1500 Metric: 1
         RX Packets: 4 errors: 0 dropped: 0 overuns: 0 frame: 0
         TX Packets: 2 errors: 0 dropped: 0 overuns: 0 carrier: 0
         collisions: 0 txqueuelen: 1000
         RX bytes: 240 ( 240.0 b )
         TX bytes: 1180 ( 1.1 kb )
         Interrupt 11 Bas address 0x1000

Last edited by Sherlok; 11-17-2005 at 08:14 PM.
 
Old 11-17-2005, 08:20 PM   #10
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,325

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Could you try add in /etc/modprobe.conf (kernel 2.6) or /etc/modules.conf (kernel 2.4) :
Code:
alias eth0 forcedeth
Then :
Code:
modprobe forcedeth
netconfig
I have a nvdia net built-in card that works well with forcedeth driver
 
Old 11-17-2005, 08:47 PM   #11
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
Quote:
Originally posted by Sherlok
a closer look at the drivers i got shows there a tad old, I grabbed some ones from august off the nvidia site. when I was installing them it through a fuss about not being able to find a kernel interface and made it's own. Got an error when installing the sound drivers, but the network ones installed fine.

lspci gives me a line identical to what you put up.

typed in both those commands and restarted, still nothing..

if this helps i did a ifconfig eth0, which i didn't post yet

Code:
# ifconfig eth0

lo      Link encap: Ethernet HWaddr: (The Mac Address, got lazy didnt right it down)
         BROADCAST MULTICAST  MTU: 1500 Metric: 1
         RX Packets: 4 errors: 0 dropped: 0 overuns: 0 frame: 0
         TX Packets: 2 errors: 0 dropped: 0 overuns: 0 carrier: 0
         collisions: 0 txqueuelen: 1000
         RX bytes: 240 ( 240.0 b )
         TX bytes: 1180 ( 1.1 kb )
         Interrupt 11 Bas address 0x1000
do the lspci thing that i suggested
 
Old 11-17-2005, 08:49 PM   #12
Sherlok
Member
 
Registered: Oct 2004
Posts: 34

Original Poster
Rep: Reputation: 15
ok tried that, didn't seem to work.

I got an error along the lines of:

2.4.26/kernel/drivers/net/forcedeth.o.gz init module: no such device

I did an lsmod to look around, and didn't see forcedeth in there, however I did see nvnet. So i tried changing the commands you gave me replaceing forcedeth with nvnet, which didn't give any errors, just said that the .conf was newer then the .dsp. ran netconfig, and didn't get anything though.
 
Old 11-17-2005, 09:28 PM   #13
Sherlok
Member
 
Registered: Oct 2004
Posts: 34

Original Poster
Rep: Reputation: 15
Ok sorry to double post, just wanted to let you all know, I jsut re-installed quick. Everythign works fine, it autofound forcedeth and that's working great.

Just wanted to thank everyone for all their help, no idea what happened. now to get onto updating.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
help, network (2 PC with Slack) miloc Linux - Networking 2 10-06-2004 07:37 PM
Slack 10 network config ronanio Linux - Networking 1 09-13-2004 05:27 PM
Slack 10, network help abrahamfroman Linux - Newbie 6 08-05-2004 08:01 PM
Problems with network installation of Slack 9.1 wojtas Slackware - Installation 1 04-03-2004 01:32 PM
Network Setup Problems in Slack 9.0 randomwhiteman Linux - Newbie 2 08-26-2003 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:57 AM.

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