You are not logged in.
After IP address of router in my apartment changed I have troubles with bringing up my network connection. I changed my gateway address and now it fails with:
:: Starting Network [BUSY]
SIOCADDRT: No such process
[FAIL]
however
$route add <gateway ip> eth0
temporarily solves the problem:
[dreamer_@dream02 ~]$ sudo /etc/rc.d/network start
:: Starting Network [DONE]
any ideas how should I repair this to start my network automatically?
| ← Ceci n'est pas une pipe.
Offline
What's your networking spot in rc.conf look like? What were the old and new internal IPs of your router?
Offline
rc.conf:
lo="lo 127.0.0.1"
eth0="eth0 192.168.3.128 netmask 255.255.255.0 broadcast 192.168.3.255"
INTERFACES=(lo eth0)
gateway="default gw 80.48.72.175"
ROUTES=(gateway)
the only thing that changed is gateway ip (previous was 192.168.13.something). I was playing with different netmasks and broadcast ranges but it didn't help
| ← Ceci n'est pas une pipe.
Offline
Hi,
The gateway usually is in the same sub-network than your IP address.
According to your rc.conf, your gateway should be something like 192.168.3.xxx
Are you sure that is the IP of your gateway? Have you tried DHCP?
DkSoul
Offline
dhcp is not installed on gateway
well, I am quite sure it's good address because network works, but can't be started automatically
| ← Ceci n'est pas une pipe.
Offline
Do you have an ip address that you use to configure your router?
If you do, have you tried using that ip as gateway?
DkSoul
Offline
ifconfig on my router says:
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:80.48.72.175 Bcast:80.48.72.191 Mask:255.255.255.224
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5820789 errors:0 dropped:0 overruns:0 frame:0
TX packets:5030234 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2276235689 (2170.7 Mb) TX bytes:2252201341 (2147.8 Mb)
Interrupt:10 Base address:0x7000
| ← Ceci n'est pas une pipe.
Offline
Is that the only eth?
What is the route table of the router?
DkSoul
Offline
yes, it's the only one
I don't think that problem is on router side: few other computers connects without hassle (WinXP, MacOSX, Debian, Fedora), Arch works too, but only after adding route manually.
| ← Ceci n'est pas une pipe.
Offline
rc.conf:
lo="lo 127.0.0.1" eth0="eth0 192.168.3.128 netmask 255.255.255.0 broadcast 192.168.3.255" INTERFACES=(lo eth0) gateway="default gw 80.48.72.175" ROUTES=(gateway)
the only thing that changed is gateway ip (previous was 192.168.13.something). I was playing with different netmasks and broadcast ranges but it didn't help
The problem is in the lines:
gateway="default gw 80.48.72.175"
ROUTES=(gateway)
If you are using DHCP the line ROUTES=(gateway) should read ROUTES=(!gateway) <-- notice the !
Hope this helps.
R.
Offline
well, I am quite sure I don't use dhcp // to be really really sure I tested and network restart hung while waiting for non-existent router's dhcpd to respond
however I worked this by myself after all
my new rc.conf says:
g0="80.48.71.175 eth0"
gateway="default gw 80.48.71.175"
ROUTES=(g0 gateway)
and that's all folks, it works thanks everyone
| ← Ceci n'est pas une pipe.
Offline