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 03-25-2005, 10:49 AM   #1
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Odd NIC problem with Slack


I've been seing an odd problem with my pcmcia NIC since I installed Slack. It starts out working fine, dhcp assigns and IP nice and quick and everything works fine.

At some point, after a boot up or two, the NIC stops getting an IP from dhcp when I boot up and my dsl modem/router resets itself. I know it isn't any sort of hardware problem because I don't see it using another *nix such as Gentoo or Mepis LiveCD.

Something to do with the net config or dhcp is changing but I can't seem to determine what it is or what causes it. I've reinstalled Slack three times now as it seems to be the only way to fix the problem. I refuse to reinstall again as it's just stupid to keep having to do that.

Someone must have an idea what's causing this weird behavior or at least where to start looking for it. I've checked the net related config files and rc.d files but don't see anything obvious.

Any ideas?
 
Old 03-25-2005, 01:53 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Original Poster
Rep: Reputation: 90
OK, here's what I have discovered on this so far.

If I delete the files /etc/dhcpc/dhcpcd-eth0.cache dhcpcd-eth0.info dhcpcd-eth0.old chcpcd.eth0.pid
and restart pcmcia service it connects fine.

I also see that resolv.conf is empty. SHouldn't dhcp write the info to resolv.conf?
 
Old 03-25-2005, 03:44 PM   #3
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
I dual boot with Fedora Core. Fedora Core picks up my NIC and configures my DSL modem fine, but I don't think it closes the connection. So, if I reboot into Slackware it work fine.

Frustrating to have to do this to get online with Slack.

The deleting files that you mentioned, do you have to delete these same files every time you shutdown Slack so that you can get online the next time you boot?
 
Old 03-29-2005, 02:47 PM   #4
ahnunahki
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
I have a similar problem. Slackware 10.1 sees my nic just fine. I set a static ip on it. I can send maybe 30 packets before it drops the connection altogether. I cant ping any machines on the network and all tcp functions are useless. I reboot the box, I get a connection for a bit and than it just loses connection again. Nothing in messages or any other log file I can look through. I have no idea why its happening.
 
Old 03-29-2005, 10:26 PM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Original Poster
Rep: Reputation: 90
Have figured some of it out. The connection problem only happend when i shut down or reboot teh machine. Connection is fine when I shut down. next time I start the machine it can't connect until I delete the cache and info files. The pid was a fluke, it's usually not there when inactive.

For some reason, the dhcpcd isn't releasing the lease upon shut down as near as I can tell so the only way to restart the connection is to stop pcmcia, delete the cache and info files in /etc/dhcpc and then restart pcmcia. What a pain.
 
  


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
Slack 9 wireless nic problem jilic Linux - Wireless Networking 1 07-22-2005 02:24 PM
Problem getting Internet on dual-NIC Slack 10.1 box Staedtler Slackware 21 07-11-2005 08:53 PM
troubles getting Gigabit NIC to work in slack 10 (HGA32T NIC) TheLinuxDuck Slackware 10 03-10-2005 04:37 PM
Slack 10 has problem with SMC nic Phaete Linux - Networking 1 03-09-2005 11:45 PM
slack 9.1 modem/nic problem CletusJones Slackware 6 01-01-2004 09:51 PM

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

All times are GMT -5. The time now is 08:21 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