LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-28-2004, 10:57 AM   #1
wo1fz
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 10
Posts: 4

Rep: Reputation: 0
Unhappy Internet Connection problems.


My cable modem is connected to eth0 using dhcp. The internet stops responding every day. I tried ifconfig eth0 down, ifconfig eth0 up and dhcpc -d -t 10 eth0 that doesnt help ;[. Even rebooting linux wont work, but when i login to windows and back to linux it starts working again for a day. Does anyone know what the problem might be? I am using slackware 10. have 2 3com network cards setup "lsmod 3c59x 25648 2".

Last edited by wo1fz; 06-28-2004 at 10:58 AM.
 
Old 06-28-2004, 11:03 AM   #2
subekk0
Member
 
Registered: Sep 2003
Location: Dallas, TX.
Distribution: Slacking since '94
Posts: 153

Rep: Reputation: 32
some things to try

It sounds to me like you lose connectivity when you lease is being renewed.
check out your resolv.conf file (/etc/resolv.conf) while it is working and when it stops working try do a "more" on the file and get the ip address. reboot your box and see if the address changes. it could be a permissions issue on the resolv.conf file (maybe). also in the /etc/dhcpd folder ther is generally a .old and a .exe file try deleting the .old file and running /etc/rc.d/rc.inet1. another thing to check would be the gateway setting in the /etc/rc.d/rc.inet1.conf file....
 
Old 06-28-2004, 11:18 AM   #3
wo1fz
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 10
Posts: 4

Original Poster
Rep: Reputation: 0
I have checked before namserver addresses and ip address are the same.
ls -la resolv.conf -rw-r--r-- 1 root root 74 2004-04-30 07:24 resolv.conf
"also in the /etc/dhcpd folder ther is generally a .old and a .exe file try deleting the .old file and running /etc/rc.d/rc.inet1" i have tried that before doesnt help ;[

# Default gateway IP address:
GATEWAY=""
 
Old 06-28-2004, 02:30 PM   #4
subekk0
Member
 
Registered: Sep 2003
Location: Dallas, TX.
Distribution: Slacking since '94
Posts: 153

Rep: Reputation: 32
dhcp generally doesn't assign a gateway address. you should put that in manually. but that is probably not causing the problem
 
Old 06-29-2004, 05:09 AM   #5
wo1fz
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 10
Posts: 4

Original Poster
Rep: Reputation: 0
I get the gateway from the dhcp server. I tried to dhcpcd -k now and its says the dhdcpd is not running, but the internet is working fine. Isnt the daemon supposed to be running all the time?
 
Old 06-29-2004, 09:22 AM   #6
subekk0
Member
 
Registered: Sep 2003
Location: Dallas, TX.
Distribution: Slacking since '94
Posts: 153

Rep: Reputation: 32
it is supposed to. since you ran dhcpcd -k try running dhcpcd does that give you an error?
 
Old 06-29-2004, 03:19 PM   #7
wo1fz
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 10
Posts: 4

Original Poster
Rep: Reputation: 0
I did this dhcpcd -l 15180 -d -t 10 eth0 and its all working fine now ;] Thanks for help subekk0.
 
  


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
Internet Connection Problems Pretzal Debian 1 09-01-2005 12:37 PM
Internet connection problems Elphi SUSE / openSUSE 13 10-23-2004 11:05 AM
problems with internet connection nulinuser Linux - Newbie 3 07-14-2004 07:25 PM
Internet Connection Problems...again! justiceisblind Linux - Newbie 0 04-21-2002 11:38 AM
internet connection problems greatgatsby26 Linux - Networking 4 05-04-2001 07:40 PM

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

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