You are not logged in.

#1 2007-10-12 17:22:58

dreamer_
Member
From: Wrocław, Poland
Registered: 2007-10-12
Posts: 9

yet another network problem (SIOCADDRT: No such process)

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

#2 2007-10-12 17:31:27

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

Re: yet another network problem (SIOCADDRT: No such process)

What's your networking spot in rc.conf look like?  What were the old and new internal IPs of your router?

Offline

#3 2007-10-13 11:47:26

dreamer_
Member
From: Wrocław, Poland
Registered: 2007-10-12
Posts: 9

Re: yet another network problem (SIOCADDRT: No such process)

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 sad


| ← Ceci n'est pas une pipe.

Offline

#4 2007-10-13 12:06:10

DkSoul
Member
Registered: 2005-11-24
Posts: 34

Re: yet another network problem (SIOCADDRT: No such process)

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

#5 2007-10-13 12:13:21

dreamer_
Member
From: Wrocław, Poland
Registered: 2007-10-12
Posts: 9

Re: yet another network problem (SIOCADDRT: No such process)

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

#6 2007-10-13 12:18:51

DkSoul
Member
Registered: 2005-11-24
Posts: 34

Re: yet another network problem (SIOCADDRT: No such process)

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

#7 2007-10-13 12:56:14

dreamer_
Member
From: Wrocław, Poland
Registered: 2007-10-12
Posts: 9

Re: yet another network problem (SIOCADDRT: No such process)

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

#8 2007-10-13 14:25:26

DkSoul
Member
Registered: 2005-11-24
Posts: 34

Re: yet another network problem (SIOCADDRT: No such process)

Is that the only eth?
What is the route table of the router?

DkSoul

Offline

#9 2007-10-15 00:14:21

dreamer_
Member
From: Wrocław, Poland
Registered: 2007-10-12
Posts: 9

Re: yet another network problem (SIOCADDRT: No such process)

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

#10 2007-10-15 00:26:33

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: yet another network problem (SIOCADDRT: No such process)

dreamer_ wrote:

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 sad

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

#11 2007-10-15 01:19:36

dreamer_
Member
From: Wrocław, Poland
Registered: 2007-10-12
Posts: 9

Re: yet another network problem (SIOCADDRT: No such process)

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 smile
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 smile thanks everyone


| ← Ceci n'est pas une pipe.

Offline

Board footer

Powered by FluxBB