dhclient wi0
bekomme ich eine Ip Adresse. Dannach kann ich den router (10.0.0.138) pingen. Nun, wie geht es jetzt weiter? pptp ist nicht vorhanden, ich habe nur ppp. In /etc/ppp/ gibt es ppp.conf, habe ich editiert, aber keine Verbindung geschaft.
Hier ifconf -a:
- Code: Alles auswählen
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::109:5bff:fe24:3d39%wi0 prefixlen 64 scopeid 0x3
ether 00:09:5e:34:3d:59
media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
status: associated
ssid inode-wireless channel 9 bssid 00:b0:75:8e:9c:90
stationname "FreeBSD WaveLAN/IEEE node"
authmode OPEN privacy MIXED deftxkey 1 wepkey 1:40-bit txpowmax 100
bintval 100
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
Opened by PID 737
Hier mein ppp.conf
- Code: Alles auswählen
default:
set log Phase tun command
set device PPPOE:wi0
set MTU 1472
set MRU 1492
set dial
set crtscts off
set speed sync
accept lqr
disable deflate
disable pred1
disable vjcomp
disable acfcomp
disable protocomp
enable dns
set log Phase LCP IPCP CCP tun command Warning Error Alert
set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0
add default HISADDR
set login
set authname <omitted-user-name>
set authkey <omitted-pasw>
Ich versuche mit:
ppp -ddial
In ppp.log:
- Code: Alles auswählen
Jan 22 23:28:01 ppp[692]: Phase: Using interface: tun0
Jan 22 23:28:01 ppp[692]: Phase: deflink: Created in closed state
Jan 22 23:31:07 ppp[710]: Phase: Using interface: tun0
Jan 22 23:31:07 ppp[710]: Phase: deflink: Created in closed state
Jan 22 23:34:28 ppp[731]: Phase: Using interface: tun0
Jan 22 23:34:28 ppp[731]: Phase: deflink: Created in closed state
Jan 22 23:37:08 ppp[731]: tun0: Command: default: set device PPPOE:wi0
Jan 22 23:37:08 ppp[731]: tun0: Command: default: set MTU 1472
Jan 22 23:37:08 ppp[731]: tun0: Command: default: set MRU 1492
Jan 22 23:37:08 ppp[731]: tun0: Command: default: set dial
Jan 22 23:37:08 ppp[731]: tun0: Command: default: set crtscts off
Jan 22 23:37:08 ppp[731]: tun0: Command: default: set speed sync
Jan 22 23:37:08 ppp[731]: tun0: Command: default: accept lqr
Jan 22 23:37:08 ppp[731]: tun0: Command: default: disable deflate
Jan 22 23:37:08 ppp[731]: tun0: Command: default: disable pred1
Jan 22 23:37:08 ppp[731]: tun0: Command: default: disable vjcomp
Jan 22 23:37:08 ppp[731]: tun0: Command: default: disable acfcomp
Jan 22 23:37:08 ppp[731]: tun0: Command: default: disable protocomp
Jan 22 23:37:08 ppp[731]: tun0: Command: default: enable dns
Jan 22 23:37:08 ppp[731]: tun0: Command: default: set log Phase LCP IPCP CCP tun command Warning Error Alert
Jan 22 23:37:08 ppp[731]: tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0
Jan 22 23:37:08 ppp[731]: tun0: Command: default: add default HISADDR
Jan 22 23:37:08 ppp[731]: tun0: Warning: Add route failed: 0.0.0.0/0 already exists
Jan 22 23:37:08 ppp[731]: tun0: Command: default: set login
Jan 22 23:37:08 ppp[731]: tun0: Command: default: set authname ********
Jan 22 23:37:08 ppp[731]: tun0: Command: default: set authkey ********
Jan 22 23:37:08 ppp[737]: tun0: Phase: PPP Started (ddial mode).
Jan 22 23:37:08 ppp[737]: tun0: Phase: bundle: Establish
Jan 22 23:37:08 ppp[737]: tun0: Phase: deflink: closed -> opening
Jan 22 23:37:09 ppp[737]: tun0: Phase: deflink: Connected!
Jan 22 23:37:09 ppp[737]: tun0: Phase: deflink: opening -> dial
Jan 22 23:37:09 ppp[737]: tun0: Phase: deflink: dial -> carrier
Jan 22 23:37:14 ppp[737]: tun0: Phase: deflink: Disconnected!
Jan 22 23:37:14 ppp[737]: tun0: Phase: deflink: carrier -> hangup
Jan 22 23:37:14 ppp[737]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
Jan 22 23:37:14 ppp[737]: tun0: Phase: deflink: 0 packets in, 0 packets out
Jan 22 23:37:14 ppp[737]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sun Jan 22 23:37:09 2006
Jan 22 23:37:14 ppp[737]: tun0: Phase: deflink: hangup -> opening
Jan 22 23:37:14 ppp[737]: tun0: Phase: deflink: Enter pause (30) for redialing.