You are not logged in.
Every boot I have to enter 'route add default gw 192.168.1.254' to get my connection back in action.
I'm currently using netcfg over a WPA-PSK network with a static IP.
rc.conf has -
gateway="default gw 192.168.1.254"
ROUTES=(gateway)
and resolv.conf has -
nameserver 192.168.1.254
I was under the impression the settings in rc.conf should automatically configure it, although there is obviously something else in the mix.
Many thanks in advance.
Last edited by offset (2009-10-02 18:42:20)
Offline
Use net-profiles to connect your wireless network at boot. You can define gateway/ip/DNS inside the network profile (check out /etc/network.d/examples/ethernet-static) and comment out the entries in rc.conf.
Last edited by hokasch (2009-10-01 15:42:17)
Offline
I was under the impression the settings in rc.conf should automatically configure it, although there is obviously something else in the mix.
Not if you're using netcfg which replaces the rc.conf setup. As hokasch mentioned, if you're using netcfg setup net-profiles in your rc.conf instead of eth0=... and ROUTES=...
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Cheers, will test this when I get home from work and update the situation.
Offline
Thanks for pointing me in the right direction. Disabled all the default settings in rc and added all the alternatives in my netcfg profile. All tests okay.
Offline
Heya,
Please mark the thread as solved if the issue has been addressed.
Edit: Nevermind. Didn't look at the post date...
Last edited by Runiq (2009-10-02 18:43:03)
Offline