DragonFly BSD
DragonFly bugs List (threaded) for 2004-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Network problems


From: Marco Righele <marco_righele@xxxxxxxx>
Date: Sun, 15 Aug 2004 18:04:55 +0000

> Could you please quote the content of your /etc/rc.conf file?

sshd_enable="YES"
portmap_enable="YES"
inetd_enable="YES"

ifconfig_sis0="inet 192.168.0.3 netmask 255.255.255.0"
defaultrouter="192.168.0.1"
hostname="marco"



Please note that if I use dhclient to get an address from the DHCP server
I get the same problems.


I tried a few other scripts in /etc/rc.d and I got the following results:

marco# /etc/rc.d/network restart
Stopping network.
Deleting aliases.
Downing network interfaces:/etc/rc.d/network: WARNING: $auto_ifconfig is not set properly - see rc.conf(5).
. 
default              192.168.0.1          done
route: write to routing socket: No such process
got only -1 for rlen
Starting network.
Hostname: marco.mshome.net
/etc/rc.d/network: WARNING: $flushroutes is not set properly - see rc.conf(5).
add net 127.0.0.0: gateway 127.0.0.1
/etc/rc.d/network: WARNING: $auto_ifconfig is not set properly - see rc.conf(5).
Configuring network interfaces:.








marco# /etc/rc.d/network1 restart
Stopping network: flush routesdefault              192.168.0.1         
done route: write to routing socket: No such process got only -1 for rlen
. 
Doing initial network setup: host.conf. 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255 ether
        00:0d:87:5e:c9:98
        media: Ethernet autoselect (100baseTX <full-duplex>) status:
        active



Given errors in the two messages above, I fear I messed up some config
file during an upgrade, but I have no idea which ones. I looked in
rc.conf(5) but I couldn't find any reference to the mentioned variables
$flushroutes and $auto_ifconfig

I forgot to mention also that the kernel is a GENERIC kernel with IPV6
disabled (but a stock kernel didn't do any difference).
If I run /usr/sbin/inetd directly , inetd does work, and I can ftp
locally, (so maybe the ftp problem isn't related to this issue ?)






[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]