You are not logged in.

#1 2007-10-10 18:23:57

energiya
Member
Registered: 2007-03-03
Posts: 29

[Solved] How do I configure the internet

Hi. For some strange reason my ISP has an idiotic problem with the dhcp server so I have to use manual configuration. In windows I get:

IP: <IP1>
Subnet Mask: <netmask>
Default Gateway: <IP_M>
DNS Server: <IP_M>
WINS Server: <IP_M>

What must I edit to get this to work? I already played with rc.conf:

lo="lo 127.0.0.1"
eth0="eth0 <IP1> netmask <netmask> broadcast <IP_M>"
INTERFACES=(lo eth0)
gateway="default gw <IP_M>"
ROUTES=(!gateway)

and resolv.conf

nameserver <IP_M>

When I remove the "!" from ROUTES in rc.conf I get an error on /etc/rc.d/network restart

SIOCDERT: No such process
SIOCADDRT: No such process

Please, I really, really need my internet conection back !
Thanks in advance !

Last edited by energiya (2007-10-10 19:54:28)

Offline

#2 2007-10-10 18:27:07

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [Solved] How do I configure the internet

I think your broadcast is wrong - say your ip is 192.168.0.1, then your broadcast should be 192.168.0.255

Offline

#3 2007-10-10 18:39:53

energiya
Member
Registered: 2007-03-03
Posts: 29

Re: [Solved] How do I configure the internet

They all work fine in windows (set manually as well). It might have something to do with the WINS server?

edit: it seems not ? (not sure)
Anyway, I think there shouldn't be a ! in ROUTERS, but without it I get the error above. And the gateway ends in .254 (all IP's are different than normal - security reason?)

Last edited by energiya (2007-10-10 18:47:03)

Offline

#4 2007-10-10 19:31:04

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: [Solved] How do I configure the internet

So... did you try changing your broadcast the way I suggested?

And you're right, if you want to use the gateway you need to remove the !

As for "different than normal", do you mean they're not 192.168.x.y?  There's another range for local addresses... but I can't remember it off the top of my head. (edit - other private network ranges are 10.0.0.0/8 and 172.16.0.0/12)

Last edited by Cerebral (2007-10-10 19:36:05)

Offline

#5 2007-10-10 19:46:04

Mardukas
Banned
From: Lithuania
Registered: 2007-08-05
Posts: 121

Re: [Solved] How do I configure the internet

ROUTES=(gateway) should help.

Offline

#6 2007-10-10 19:54:05

energiya
Member
Registered: 2007-03-03
Posts: 29

Re: [Solved] How do I configure the internet

Thanks a lot Cerebral! Yes, changing from .254 in .255 in broadcast worked. Weird... it works fine in windows (I have to say I only have basic network experience).
BTW, its a campus (university supported) network.

Offline

Board footer

Powered by FluxBB