[openbeosnetteam] Re: network configuration files help.

Axel,

thanks forever, I don't know where I took that 'device' from. I just checked my docs again and yes, it's interfaces. Now it's all working, will implement the last bits and commit my changes.

thanks again Axel, this was bugging me for some days already. Silly mistake.

Andre


On Aug 19, 2007, at 7:44 PM, Axel Dörfler wrote:

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: