LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 03-31-2007, 05:43 AM   #1
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
internet stopped working on Suse - ifconfig output seems ok


I have a cable connection through my network card. It uses dhcp to get the ip and everything.
Until 2 days ago, it was working fine. 2 days ago, I installed apache, set up a http server to send some files to some friends, and it was working fine.
Since yesterday, it doesn't work. Ifconfig correctly displays my ip, gateway and everything else. But, it doesn't work. Not even ping (it says hostname not found).
I played around with yast, and my network card seems to be set ok. I couldn't solve anything (except I somehow managed to make it use about 800Mb of RAM, and my 512Mb computer was almost unusable...).

It works fine on both Slackware and windoze...

Don't know what to do at this point... I've been getting lots of errors lately on Suse (a 2 year old install is too much for any OS)...

Thanks for reading. Any suggestions/info is welcomed.
 
Old 03-31-2007, 07:03 PM   #2
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
Could you post the contents of /etc/resolv.conf? Try to ping the modem, does it respond?
 
Old 04-01-2007, 11:44 AM   #3
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
Thanks for the idea. I got it working.
resolv.conf was empty... somehow the name servers weren't assigned through dhcp, although it was configured to do so (theoretically, but yast is not to be trusted). I manually entered the nameservers ip that slackware uses and it works.
But still, why weren't they assigned through dhcp as they should have been? Any ideas anyone?
 
Old 04-02-2007, 11:03 AM   #4
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
Check if you have dhcpcd running with:
Code:
pidof dhcpcd
, if not, something is wrong with the network scripts (try rcnetwork restart), if it is running, maybe your firewall or dhcp server configuration is at fault.
 
Old 04-02-2007, 01:02 PM   #5
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
thanks for the reply.
yup, dhcpcd is running...
how can I check the configuration of dhcp and firewall? (except with yast, it says everything's ok...)
 
Old 04-03-2007, 06:44 AM   #6
auxsvr
Member
 
Registered: Dec 2006
Distribution: openSUSE 10.3
Posts: 260

Rep: Reputation: 30
Make sure that you allow DHCP client access at the firewall settings in yast. Check whether DHCLIENT_MODIFY_RESOLV_CONF="yes" in
/etc/sysconfig/network/dhcp and MODIFY_RESOLV_CONF_DYNAMICALLY="yes" in /etc/sysconfig/network/config. Also, please post the output of
Code:
ps xa| grep dhcpcd
. By the way, how do you do NAT on the modem with an IP address assigned by DHCP? It can only be done with a static IP address, so check the NIC configuration for a static address and set it to automatic. You will still be able to use your web server if the DHCP server on the modem is configured to give your NIC a specific IP address.

I assume that your dhcp server is configured properly (i.e. any device you connect to it gets a dhcp lease with the correct settings).
 
Old 04-06-2007, 02:40 AM   #7
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Original Poster
Rep: Reputation: 30
Thank you.
That was it. Yast modified only the dhcp file, not the config one, which had that parameter's value set to "no".
Suse's Yast disappoints me more and more every day...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Analog output stopped working after first time playing digital sound in FC6/Audigy sippykup Linux - General 1 01-28-2007 02:35 AM
tablet stopped working - no xxd output tomekp Linux - Hardware 0 07-05-2006 08:21 AM
Internet suddenly stopped working. figster Linux - Newbie 2 08-29-2005 05:18 PM
Internet stopped working after running netconfig on 2.6.0 GT_Onizuka Slackware 6 01-03-2004 03:47 PM
internet connection stopped working arch23 Linux - Networking 5 12-19-2003 09:02 AM


All times are GMT -5. The time now is 08:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration