Huawei E220
mitlox
mitlox w op.pl
Pią, 5 Gru 2008, 10:13:22 CET
Paweł Zuzelski wrote:
> On Friday 05 of December 2008 08:08:03 mitlox wrote:
>
>> Paweł Zuzelski wrote:
>>
>>> On Friday 05 of December 2008 04:04:39 mitlox wrote:
>>>
>>>> #defaultroute
>>>> (...)
>>>> Co można jeszcze zmienić?
>>>>
>>> *włączyć* defaultroute w konfigu ppp (-:
>>>
>> Z nowo włączyłem defaultroute w /etc/ppp/peers/era-connect, ale dostaje
>> ten sam błąd.
>>
>
> Ale jaki błąd?
>
>
>> # pppd call era-connect
>> DIALING... DSPA
>> Serial connection established.
>> Using interface ppp0
>> Connect: ppp0 <--> /dev/ttyUSB0
>> PAP authentication succeeded
>> Could not determine remote IP address: defaulting to 10.64.64.64
>> Cannot determine ethernet address for proxy ARP
>> local IP address 114.72.190.149
>> remote IP address 10.64.64.64
>> primary DNS address 61.88.88.88
>> secondary DNS address 61.88.88.88
>>
>> Przed pppd musze zawsze "mknod /dev/ttyUSB0 c 188 0" wywołać. Morze to
>> robi te problemy?
>>
>
> Pokaż wynik komend:
> ip ro
> ip ad
>
# ip ro
169.254.0.0/16 dev eth0 proto kernel scope link src 169.254.193.244
# ip ad
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc sfq state
UNKNOWN qlen 1000
link/ether 00:a0:cc:d0:fe:ac brd ff:ff:ff:ff:ff:ff
inet 169.254.193.244/16 brd 169.254.255.255 scope global eth0
inet6 fe80::2a0:ccff:fed0:feac/64 scope link
valid_lft forever preferred_lft forever
3: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether a6:70:f7:b9:d0:ec brd ff:ff:ff:ff:ff:ff
# pppd call era-connect
pppd: In file /etc/ppp/peers/era-connect: unrecognized option '/dev/ttyUSB0'
# mknod /dev/ttyUSB0 c 188 0
# pppd call era
DIALING... DSPA
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
PAP authentication succeeded
Could not determine remote IP address: defaulting to 10.64.64.64
Cannot determine ethernet address for proxy ARP
local IP address 122.110.126.234
remote IP address 10.64.64.64
primary DNS address 61.88.88.88
secondary DNS address 61.88.88.88
# ip ro
10.64.64.64 dev ppp0 proto kernel scope link src 122.110.126.234
169.254.0.0/16 dev eth0 proto kernel scope link src 169.254.193.244
default dev ppp0 scope link
# ip ad
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc sfq state
UNKNOWN qlen 1000
link/ether 00:a0:cc:d0:fe:ac brd ff:ff:ff:ff:ff:ff
inet 169.254.193.244/16 brd 169.254.255.255 scope global eth0
inet6 fe80::2a0:ccff:fed0:feac/64 scope link
valid_lft forever preferred_lft forever
3: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether a6:70:f7:b9:d0:ec brd ff:ff:ff:ff:ff:ff
4: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UNKNOWN qlen 3
link/ppp
inet 122.110.126.234 peer 10.64.64.64/32 scope global ppp0
Więcej informacji o liście dyskusyjnej pld-users-pl