LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-09-2004, 12:42 PM   #1
Lostboy7500
LQ Newbie
 
Registered: Dec 2002
Location: Dallas, Texas
Distribution: SuSE 8.1 Pro
Posts: 12

Rep: Reputation: 0
Resolv.conf correct or missing something?


I have set my SuSe pro system up about 50 different ways and have yet to be able to ping anything and when i try to ping localhost it times out after about 100 attempts.

My /etc/Resolv.conf:
Nameserver 63.240.76.198
Nameserver 204.127.199.8
search comcast.net

My IFCONFIG:
eth0 Link encap:Ethernet HWaddr 00:0D:88:3*:2C:9E
inet addr:24.0.110.102 Bcast:24.0.111.255 Mask:255.255.248.0
inet6 addr: fe80::20d:88ff:fe37:2c9e/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:95776 errors:0 dropped:0 overruns:0 frame:0
TX packets:135 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqeuelan:100
RX bytes:6017570 (5.7 Mb) TX bytes:36282 (35.4 kb)
Interupt:10 Base address:0x1000

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

All the addresses look correct, the only one i am not familiar with is the Bcast address....I cannot ping anything with address only or name so I cant say wether its just a DNS issue or what. I am connected directly to a cable modem. XP box works fine on same connection. I am also not sure what to plug into the Domain Search Lines in the setup but hopefully someone can help....
 
Old 10-09-2004, 03:16 PM   #2
tuxq
Member
 
Registered: Feb 2003
Location: USA
Distribution: Slackware-current
Posts: 47

Rep: Reputation: 15
Your resolv.conf is correct ... what could be wrong is your /etc/hosts file.
 
Old 10-09-2004, 03:19 PM   #3
Lostboy7500
LQ Newbie
 
Registered: Dec 2002
Location: Dallas, Texas
Distribution: SuSE 8.1 Pro
Posts: 12

Original Poster
Rep: Reputation: 0
Im assuming this is my problem because my /etc/host.conf file is empty....What do I need to add to this file?
 
Old 10-09-2004, 04:52 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Not /etc/host.conf. You should have another file, /etc/hosts which should have a line like this:
Code:
127.0.0.1               localhost
 
Old 10-09-2004, 06:03 PM   #5
Lostboy7500
LQ Newbie
 
Registered: Dec 2002
Location: Dallas, Texas
Distribution: SuSE 8.1 Pro
Posts: 12

Original Poster
Rep: Reputation: 0
I just checked and my /etc/hosts file contains that line along with some IPv6 addresses. I am completely at a loss. Is there a step by step I can read to see if I missed something?
 
Old 10-09-2004, 07:15 PM   #6
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
Re: Resolv.conf correct or missing something?

Quote:
Originally posted by Lostboy7500


My IFCONFIG:
eth0 Link encap:Ethernet HWaddr 00:0D:88:3*:2C:9E
inet addr:24.0.110.102 Bcast:24.0.111.255 Mask:255.255.248.0
inet6 addr: fe80::20d:88ff:fe37:2c9e/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:95776 errors:0 dropped:0 overruns:0 frame:0
TX packets:135 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqeuelan:100
RX bytes:6017570 (5.7 Mb) TX bytes:36282 (35.4 kb)
Interupt:10 Base address:0x1000

post your network setup script and more about your network topologie.
broadcast should likely be 24.0.110.255 with a mask of 255.255.255.0

sl mritch.
 
Old 10-09-2004, 07:38 PM   #7
Lostboy7500
LQ Newbie
 
Registered: Dec 2002
Location: Dallas, Texas
Distribution: SuSE 8.1 Pro
Posts: 12

Original Poster
Rep: Reputation: 0
I gathered all the numbers from Windows. Im positive the Mask address is correct, atleast thats what the Mask is in windows. What specifically more do you need? What command results are you looking for?
 
Old 10-09-2004, 08:20 PM   #8
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
if you broadcast to a net 24.0.111.0 and you are on 24.0.110.0 - that's quite funny (if it's some standard network topologie). so a broadcase icmp will get somewhere to 111.
next is your netmask. with 255.255.248.0 there has to be another subnet elsewhere, so let's say, i can't imagine your network layout (even it's not impossible this way).
you also said you can't ping your localhost (or 127.0.0.1) - that's weired. have you some firewall installed that blocks it? can you ping any of your interfaces? is this the complete lo ifconfig you posted? also post a route -n. THX
a little overview from your network would make things easier ;-)

sl mritch.

btw. what is this box acting as?

Last edited by mritch; 10-09-2004 at 08:22 PM.
 
Old 10-09-2004, 09:02 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,751

Rep: Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929
Do you have more then one PC connected to the modem or is this dual boot?

Most cable internet home plans only give you one dynamic IP address so you can only connect one ethernet device. If you change cards you will need to remove power from the modem for a minute. You can try changing the NIC MAC in software via the ifconfig command to match the XP box.
 
Old 10-09-2004, 09:34 PM   #10
Lostboy7500
LQ Newbie
 
Registered: Dec 2002
Location: Dallas, Texas
Distribution: SuSE 8.1 Pro
Posts: 12

Original Poster
Rep: Reputation: 0
It is 2 seperate comps that I have been switching back and forth on the cable modem. I read somewhere there is possibly an ARP cache in the modem/ISP and I would need to stay of the xp box till the lease expires and then reconect with the Linux box. If I unplug the cable modem and plug it back in while the Linux box is hooked up is it possible this will work? How do I change the MAC address through IFCONFIG?
 
Old 10-09-2004, 10:01 PM   #11
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
some isp's require a uniqe mac address which is allowed to connect. to change the mac to that of your xp machine use ifconfig or iptables. i'd suggest the "ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx" method which is easier. if it's just the router needs to timeout the arp cache unplugging the power cord will be sufficent.

what's 'bout the ping problem on localhost? you'll likely get a dynamicaly assigned ip from your provider. is this working allright?

sl mritch.
 
Old 10-09-2004, 10:40 PM   #12
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Quote:
Originally posted by Lostboy7500
It is 2 seperate comps that I have been switching back and forth on the cable modem. I read somewhere there is possibly an ARP cache in the modem/ISP and I would need to stay of the xp box till the lease expires and then reconect with the Linux box. If I unplug the cable modem and plug it back in while the Linux box is hooked up is it possible this will work? How do I change the MAC address through IFCONFIG?
Sometimes issuing an arping will resolve the long arp cache expiry problem at the upstream router.

See: man arping - especially the -U option.
 
Old 10-10-2004, 02:43 AM   #13
Lostboy7500
LQ Newbie
 
Registered: Dec 2002
Location: Dallas, Texas
Distribution: SuSE 8.1 Pro
Posts: 12

Original Poster
Rep: Reputation: 0
Unplugging the modem worked! Oddly enough when I attempt to ping localhost it still times out? Anyway, Konq sucks andI would like to install Firefox but I am a newb, I have downloaded the file and attempted this :
tar -xzvf firefox-1.0pr-i686-linux-gtk2+xft.tar.gz
cd firefox-1.0pr-i686-linux-gtk2+xft/./firefox-installer

Obviously it didnt work, im assuming the directory I downloadedd the file to needs to be there somewhere but not sure where to lug it in. I downloaded it to /home/****/documents/<file>....
 
Old 10-10-2004, 03:13 AM   #14
bornhj
Member
 
Registered: Sep 2004
Location: Canberra, Australia
Distribution: Fedora Core 3, Ubuntu Hoary, Slack 10.1
Posts: 120

Rep: Reputation: 15
Quote:
tar -xzvf firefox-1.0pr-i686-linux-gtk2+xft.tar.gz
cd firefox-1.0pr-i686-linux-gtk2+xft/./firefox-installer
Try (as root - "su -"):

Code:
tar -xzvf firefox-1.0pr-i686-linux-gtk2+xft.tar.gz
cd firefox-1.0pr-i686-linux-gtk2+xft/
./firefox-installer
Unless you just forgot to hit enter...

Oh, it may seem like a silly thing to forget, but make sure you run those from an X terminal e.g. Konsole

Last edited by bornhj; 10-10-2004 at 03:14 AM.
 
Old 10-10-2004, 04:15 AM   #15
micxz
Senior Member
 
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Comcast does not require a specific mac address to be connected, only to setup the account. It does require rebooting the modem for some reason when switching the cable between computers. Any problems ever, always unplug/reboot the modem and refresh dhcp. Also I've noticed the comcast nameserver IPs change rarely but sometimes, you need to refresh them via dhcp.
just my comcast 2cent'
 
  


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
resolv.conf albundy Linux - Software 5 12-14-2004 03:12 PM
/etc/resolv.conf Pedroski Linux - Networking 1 06-22-2004 10:03 AM
resolv.conf dnsbum Linux - Networking 1 10-21-2003 12:00 PM
resolv.conf Culbert Linux - Networking 8 03-20-2003 04:11 PM
Resolv.conf tristan_vdv Linux - Networking 2 11-20-2001 06:49 PM

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

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