hi,
i hit a strange thing. my ppp.conf is short:
default:
set log Phase Chat LCP IPCP CCP tun command
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK
ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
mobile:
set device /dev/ttyU0
set dial "ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" ATZ OK-ATZ-OK AT+CGDCONT=1,\\\"IP\\\",\\\"internet\\\"
OK \\dATD\\T TIMEOUT 40 CONNECT"
set phone "*99#"
set speed 460800
set timeout 0
that's it. but when i run ppp and issue "dial mobile" it connects and
adds a default route:
$ netstat -rnf inet
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface
default 212.47.101.26 UH 0 0 - 4 tun0
default 10.19.255.126 UGS 1 12 - 4 ath0
...
why does it do that? manual and google say that it would do that in
case appropriate ppp.conf section included something like:
add default HISADDR
but in my case i don't want ppp to add a default route! not that there
is no ppp.linkup and ppp.linkdown as well. this route is also tough
enough to remove:
# route delete default 212.47.101.26
route: writing to routing socket: No such process
delete net default: gateway 212.47.101.26: not in table
#
may be somebody has seen this before and knows how to say to ppp to
stay away from the routing table?
thanks!
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Cabot, Mason B | Ext3 vs NTFS performance |
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Alan Cox | [PATCH 00/76] Queued TTY Patches |
git: | |
| Nguyen Thai Ngoc Duy | Re: VCS comparison table |
| Ken Pratt | Re: pack operation is thrashing my server |
| Wink Saville | Using git with Eclipse |
| Bill Lear | Meaning of "fatal: protocol error: bad line length character"? |
| Steve Shockley | Re: Real men don't attack straw men |
| Mayuresh Kathe | Re: What is our ultimate goal?? |
| frantisek holop | booting openbsd on eee without cd-rom |
| Didier Wiroth | how can I "find xyz | xargs tar" ... like gtar |
| David Miller | [GIT]: Networking |
| Sven Wegener | [PATCH 2/5] ipvs: Use ERR_PTR for returning errors from make_receive_sock() and ma... |
| Ingo Molnar | Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison overwritten |
| Herbert Xu | Re: [PATCH 2/3] [UDP]: Restore missing inDatagrams increments |
