Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network problems [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Scotty19
n00b
n00b


Joined: 09 May 2006
Posts: 9

PostPosted: Tue Sep 26, 2006 12:48 am    Post subject: Network problems [solved] Reply with quote

Hi. I'm working from the minimal install disk, and I can partition and everything, but I can't seem to get the networking stuff going right. It's an ethernet, static ip LAN, going through my central PC for internet access. I'm using Kubuntu on that PC, with Firestarter as my firewall/internet sharing app. I've looked at the manual, and used:

# ifconfig eth0 198.162.11.4 broadcast 198.162.11.255 netmask 255.255.255.0 up
# route add default gw 198.162.11.1

and then I put the nameservers in /etc/resolv.conf just like the manual said. It's not the cable or anything because it works on my laptop (with precisely the settings above). Some help would be appreciated, preferably in English as I'm new to Gentoo.


Last edited by Scotty19 on Tue Sep 26, 2006 5:59 am; edited 1 time in total
Back to top
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 562

PostPosted: Tue Sep 26, 2006 12:57 am    Post subject: Reply with quote

Why have you picked this unusual ip-address?
It will cause problems... Private IP addresses
Its the correct interface? (eth0 -> connected to hub/switch)
Back to top
View user's profile Send private message
thorpe
l33t
l33t


Joined: 09 May 2005
Posts: 618
Location: Sydney, Australia.

PostPosted: Tue Sep 26, 2006 1:05 am    Post subject: Reply with quote

Quote:
It's not the cable or anything because it works on my laptop (with precisely the settings above).

You also can't have two computers using the same ip so this best NOT be precisely the same settings if your laptop is connected.
_________________
Research before taking any advice from me. I'm still coming to grips with this myself.
Back to top
View user's profile Send private message
Scotty19
n00b
n00b


Joined: 09 May 2006
Posts: 9

PostPosted: Tue Sep 26, 2006 1:06 am    Post subject: Reply with quote

lagalopex wrote:
Why have you picked this unusual ip-address?
It will cause problems... Private IP addresses

Point taken. What would be better?

Quote:
Its the correct interface? (eth0 -> connected to hub/switch)

Yes. This particular computer only has 1 NIC, and I only have 1 hub.
Back to top
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 562

PostPosted: Tue Sep 26, 2006 1:15 am    Post subject: Reply with quote

Take 192.168.0.x for example... its for private purpose

Can you ping eachother?
Can you somehow (livecd/different os) check if the interface is working at all?
Back to top
View user's profile Send private message
Scotty19
n00b
n00b


Joined: 09 May 2006
Posts: 9

PostPosted: Tue Sep 26, 2006 1:16 am    Post subject: Reply with quote

thorpe wrote:
Quote:
It's not the cable or anything because it works on my laptop (with precisely the settings above).

You also can't have two computers using the same ip so this best NOT be precisely the same settings if your laptop is connected.

No, I wasn't trying to use both with the same IP simultaniously. I was just checking that the cable worked.
Back to top
View user's profile Send private message
Scotty19
n00b
n00b


Joined: 09 May 2006
Posts: 9

PostPosted: Tue Sep 26, 2006 1:19 am    Post subject: Reply with quote

lagalopex wrote:
Take 192.168.0.x for example... its for private purpose

Can you ping eachother?
Can you somehow (livecd/different os) check if the interface is working at all?

I've managed to ping my main PC and google.com, but when I started Links, all I got was errors. When I left links, I couldn't ping anything besides the main PC. Since then I haven't been able to ping anything (from that particular PC) outside the LAN.
Back to top
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 562

PostPosted: Tue Sep 26, 2006 1:30 am    Post subject: Reply with quote

From the main-pc you can ping yahoo.com and your internal pc... before and after this "cut"?
Back to top
View user's profile Send private message
Scotty19
n00b
n00b


Joined: 09 May 2006
Posts: 9

PostPosted: Tue Sep 26, 2006 4:55 am    Post subject: Reply with quote

Oh thankyou! Apparently the IP address was the matter. Thanks for your help.
Back to top
View user's profile Send private message
gentleman
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2005
Posts: 140
Location: Germany, Paderborn

PostPosted: Tue Sep 26, 2006 5:56 am    Post subject: Reply with quote

Hm Scotty19,

if you are pleased by the result, please add a "[SOLVED]" to the subject of your topic.
_________________
Everything works, you just have to do it correctly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum