You are not logged in.
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
I think your broadcast is wrong - say your ip is 192.168.0.1, then your broadcast should be 192.168.0.255
Offline
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
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
ROUTES=(gateway) should help.
Offline
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