On 8.2.2015. 22:17, Maximilian Pichler wrote:
> Hi,
> 
> I'm trying to restart the pppoe0 interface, so as to renegotiate a new
> connection to the ISP, but am getting the following error.
> 
> $ sudo sh /etc/netstart pppoe0
> ifconfig: SIOCSSPPPPARAMS(SPPPIOSXAUTH): Device busy
> route: writing to routing socket: File exists
> add net default: gateway 0.0.0.1: File exists
> 
> Does anyone know what does SIOCSSPPPPARAMS(SPPPIOSXAUTH) means?
> 
> More details below.
> 
> Thanks,
> 
> Max
> 
> 
> $ ifconfig pppoe0
> pppoe0: flags=28851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST,NOINET6> mtu 1492
>         priority: 0
>         dev: re0 state: session
>         sid: 0xdf4 PADI retries: 5 PADR retries: 0 time: 1d 00:51:51
>         sppp: phase network authproto pap
>         groups: pppoe egress
>         status: active
>         inet 98.113.101.171 --> 10.49.17.1 netmask 0xffffffff
> $ ifconfig re0
> re0: flags=28843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NOINET6> mtu 1500
>         lladdr 00:0d:b9:35:a4:78
>         priority: 0
>         media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
>         status: active
> 
> $ cat /etc/hostname.pppoe0
> inet 0.0.0.0 255.255.255.255 NONE pppoedev re0 authproto pap authname
> 'newdsl' authkey 'newdsl1' up
> dest 0.0.0.1
> !/sbin/route add default -ifp pppoe0 0.0.0.1
> $ cat /etc/hostname.re0
> up
> 
> $ ifconfig re0 down
> ifconfig: SIOCSIFFLAGS: Operation not permitted
> $ ifconfig pppoe0 down
> ifconfig: SIOCSIFFLAGS: Operation not permitted
> 
> $ dmesg | grep ^re0
> re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E
> (0x2c00), msi, address 00:0d:b9:35:a4:78
> 


try
ifconfig pppoe0 destroy
sh netstart pppoe0

Reply via email to