[openbeosnetteam] Re: network configuration files help.

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Mon, 20 Aug 2007 00:44:50 +0200 CEST

Hi Andre,

Andre Garzia <soapdog@xxxxxxx> wrote:
> device /dev/net/ipro1000/0 {
>               address {
>                       family  inet
>                       address 192.168.0.7
>                       gateway 192.168.0.1
>                       mask    255.255.255.0
>               }
> }
> 
> But net_server never refreshes, I though it monitored this file,  
> actually, by seeing the source code, I know it monitors the file. Any  
> clue what I am doing wrong? The resolv.conf one is working though.

Yes, you are not configuring devices, you are configuring interfaces :-
)
The correct setting would be:

interface /dev/net/ipro1000/0 {
        ...
}

HTH.

Bye,
   Axel.


Other related posts: