Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
network configurtaion
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
eivfur
n00b
n00b


Joined: 14 Jul 2003
Posts: 10

PostPosted: Mon Jul 14, 2003 10:33 pm    Post subject: network configurtaion Reply with quote

I hav installed gentoo , but i havent configured my network connection. I want to do this. I know the: dns server adress, network mask,gateway and my ip adress, but i dont know how to configure the network so i can get connected to internet.
Back to top
View user's profile Send private message
slartibartfasz
Veteran
Veteran


Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

PostPosted: Mon Jul 14, 2003 10:38 pm    Post subject: Reply with quote

see sections 19, 20 and 21 in the installation guide - if u have problems with this ask again...
_________________
To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be.
Back to top
View user's profile Send private message
eivfur
n00b
n00b


Joined: 14 Jul 2003
Posts: 10

PostPosted: Mon Jul 14, 2003 10:45 pm    Post subject: dnsdomainname and nisdomainname Reply with quote

what is the difference between the dnsdomainname and nisdomainname?

i have the ip adress to the dns server is it this i should write into the dnsdomainname fil?
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Mon Jul 14, 2003 10:52 pm    Post subject: Reply with quote

eivfur wrote:
i have the ip adress to the dns server is it this i should write into the dnsdomainname fil?

You put the IP address(es) of your DNS server(s) into /etc/resolv.conf
Back to top
View user's profile Send private message
eivfur
n00b
n00b


Joined: 14 Jul 2003
Posts: 10

PostPosted: Mon Jul 14, 2003 10:57 pm    Post subject: gateway Reply with quote

i have wrote the dns to resolv.conf. where do i write th gatway?
Back to top
View user's profile Send private message
slartibartfasz
Veteran
Veteran


Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

PostPosted: Mon Jul 14, 2003 11:07 pm    Post subject: Reply with quote

u have to edit /etc/conf.d/net
_________________
To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be.
Back to top
View user's profile Send private message
eivfur
n00b
n00b


Joined: 14 Jul 2003
Posts: 10

PostPosted: Mon Jul 14, 2003 11:39 pm    Post subject: conf.d/net Reply with quote

i have added thes e lines to the net file:

iface_eth0="192.168.0.33 broadcast 0.0.0.0 netmask 255.255.255.0"
gateway="eth0/192.168.0.44"

is this correct?

but when i run ifconfig eth0 it displays:

eth0
Link encap:Ethernet HWaddr 00:10:A7:17:01:53
BROADCAST MULTICAST MTU:1500 METRIC:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Inbterrupt:5 Base adress:0x6000

what can be wrong?
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Mon Jul 14, 2003 11:46 pm    Post subject: Reply with quote

The line

iface_eth0="192.168.0.33 broadcast 0.0.0.0 netmask 255.255.255.0"

Should read

iface_eth0="192.168.0.33 broadcast 192.168.0.255 netmask 255.255.255.0"
Back to top
View user's profile Send private message
eivfur
n00b
n00b


Joined: 14 Jul 2003
Posts: 10

PostPosted: Tue Jul 15, 2003 12:02 am    Post subject: ok done that Reply with quote

have added 192.168.0.255 instead of 0.0.0.0 but ifconbfig eth0 displays the same info.
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Tue Jul 15, 2003 12:09 am    Post subject: Reply with quote

obvious question :) Is there a cable plugged into the NIC? A green light should light on the NIC and/or the port you plug the NIC into indicating there is a link.
Back to top
View user's profile Send private message
eivfur
n00b
n00b


Joined: 14 Jul 2003
Posts: 10

PostPosted: Tue Jul 15, 2003 12:13 am    Post subject: the cable is ..... Reply with quote

the cable is plugged in an there are lighting a green light on the nic and one green light on the switch
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Tue Jul 15, 2003 12:19 am    Post subject: Reply with quote

Okay. Did you restart eth0 after fixing your broadcast address? Do "/etc/init.d/net.eth0 restart".
Back to top
View user's profile Send private message
eivfur
n00b
n00b


Joined: 14 Jul 2003
Posts: 10

PostPosted: Tue Jul 15, 2003 12:23 am    Post subject: thanks for your help Reply with quote

i hadnt started the net.eth0.


Thanks for your help everyone
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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