ifconfig [interface] destroy
Ben Paley
ben at spooty.net
Mon Jun 14 16:35:55 PDT 2004
Hello,
Occasionally when I run ppp I get this message:
bash-2.05b$ ppp
Working in interactive mode
Using interface: tun0
Warning: Add route failed: 0.0.0.0/0 already exists
ppp ON potato>
and ifconfig shows:
bash-2.05b$ ifconfig -a
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
inet6 fe80::2c0:26ff:fe27:1909%rl0 prefixlen 64 scopeid 0x1
ether 00:c0:26:27:19:09
media: Ethernet autoselect (none)
status: no carrier
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
vmnet1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.254.1 netmask 0xffffff00 broadcast 192.168.254.255
inet6 fe80::2bd:1eff:fe0b:1%vmnet1 prefixlen 64 scopeid 0x4
ether 00:bd:1e:0b:00:01
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
When this happens ppp seems to run normally and connect to my ISP, but no
browsers or mail clients etc can see the network... I think this happens when
someone closes an xterm session without quitting ppp, but I'm not sure - in
any case, I've read the ifconfig man page and tried to sort it, but this
happens:
su-2.05b# ifconfig tun0 destroy
ifconfig: SIOCIFDESTROY: Invalid argument
Obviously I'm doing somthing wrong - what is it?
Thanks,
Ben
More information about the freebsd-questions
mailing list