H0wdy,...
i upgraded from knoppix to Debian Unstable.
i usualy connect to my isp using pptp:
Code:
USERNAME=myusername
IF=eth1
/sbin/ifdown $IF
/sbin/ifup $IF
CABLEGW=`/sbin/route -n | grep ^0.0.0.0 | awk '{print $2}'`
/sbin/route add -host myisp.net gw $CABLEGW
/sbin/route del default
/usr/sbin/pptp myisp.net debug user $USERNAME mtu 1460 mru 1460 defaultroute usepeerdns noauth
im getting the next error :
ignoring unknown interface eth1=eth1
so i tried ifconfig :
Code:
eth1 Link encap:Ethernet HWaddr 00:50:22:B4:CD:09
inet addr:172.24.54.6 Bcast:255.255.255.255 Mask:255.255.224.0
UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1
RX packets:5101 errors:0 dropped:0 overruns:0 frame:0
TX packets:4161 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3799925 (3.6 MiB) TX bytes:705942 (689.3 KiB)
Interrupt:17 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1300 (1.2 KiB) TX bytes:1300 (1.2 KiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:89.0.97.230 P-t-P:172.26.255.17 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1460 Metric:1
RX packets:3753 errors:0 dropped:0 overruns:0 frame:0
TX packets:3285 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:3294854 (3.1 MiB) TX bytes:487679 (476.2 KiB)
again i try ifdown and ifup :
Code:
/sbin/ifdown: interface eth1 not configured
Ignoring unknown interface eth1=eth1
i tried iwiz (Internet Wizard) (that always help me).
Code:
root@box:~# internet --connect
No DHCP client running for eth1 (good)
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
can't create /var/lib/dhcp/dhclient.leases: No such file or directory
/sbin/dhclient-script: line 61: /etc/sysconfig/network-scripts/network-functions: No such file or directory
/sbin/dhclient-script: line 62: /etc/rc.d/init.d/functions: No such file or directory
/sbin/dhclient-script: line 69: need_config: command not found
/sbin/dhclient-script: configuration for eth1 not found.
Listening on LPF/eth1/00:50:22:b4:cd:09
Sending on LPF/eth1/00:50:22:b4:cd:09
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 10.209.192.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 10.209.192.1
/sbin/dhclient-script: line 61: /etc/sysconfig/network-scripts/network-functions: No such file or directory
/sbin/dhclient-script: line 62: /etc/rc.d/init.d/functions: No such file or directory
/sbin/dhclient-script: line 69: need_config: command not found
/sbin/dhclient-script: configuration for eth1 not found.
/sbin/dhclient-script: line 166: /bin/ipcalc: No such file or directory
can't create /var/lib/dhcp/dhclient.leases: No such file or directory
bound to 172.24.54.6 -- renewal in 233365 seconds.
DHCP client dhclient started succesfully.
No PPtP client running (good)
Fetching gateway using dhclient...
grep: /var/lib/dhcp/dhclient.leases: No such file or directory
ERROR: failed fetcing Gateway
ERROR: System call failed
it connect me to the net but:
i was have to create /var/lib/dhcp (instead of /var/lib/dhcpd).