Huawei E220

mitlox mitlox w op.pl
Pią, 5 Gru 2008, 14:46:07 CET


Paweł Muszynski wrote:
> mitlox pisze:
>   
>> Dopiero jeśli wpisze to pod spodem działa internet.
>>
>> # route add -net 10.0.0.0 netmask 255.0.0.0 ppp0
>> # route add default gw 10.64.64.64
>>
>> Idzie to inaczej zrobić i jak można internet znowu wyłączyć?
>>
>>
>>     
> A masz opcję defaultroute w pppd?
Tak mam i dlatego dostaje " not replacing existing default route via 
192.168.0.2 ":
# 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
not replacing existing default route via 192.168.0.2
found interface eth0 for proxy arp
local  IP address 114.73.17.96
remote IP address 10.64.64.64
primary   DNS address 61.88.88.88
secondary DNS address 61.88.88.88

jeśli wyłączę defaultroute to dostaje to :
# 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

Ale taki tak muszę robić:
# route add -net 10.0.0.0 netmask 255.0.0.0 ppp0
# route add default gw 10.64.64.64


Więcej informacji o liście dyskusyjnej pld-users-pl