How to set PPP remote address with Internet Connect
How to set PPP remote address with Internet Connect
- Subject: How to set PPP remote address with Internet Connect
- From: Ed Poe <email@hidden>
- Date: Thu, 08 Apr 2004 15:19:05 -0400
I'm attempting to get the Sony Ericsson GC82 card (which apparently contains
its own PPP stack) to work with Mac OS X. The default PPP configuration of
the card includes an invalid "remote" address (127.0.0.2). The card will
connect to the wireless network, but the connect script will fail during PPP
negotiation.
The card will accept a user-specified remote address, but Internet Connect
ignores the settings in /etc/ppp/options, making it impossible to specify
the remote address there. In testing I have renamed /usr/sbin/pppd to
/usr/sbin/pppd.orig and replaced it with a wrapper script:
#!/usr/bin/perl
my @args;
foreach my $arg (@ARGV) {
if ($arg eq "0:0") {
push @args, "0:10.0.0.1";
} elsif ($arg eq "ipcp-accept-remote") {
next;
} else {
push @args, $arg;
}
}
exec "/usr/sbin/pppd.orig", @args;
This is successful, but not a solution I can present to other users, who
shouldn't be mucking about in /usr/sbin.
Is there somewhere to set this option (perhaps a hidden preference) in
Internet Config? /etc/ppp/ip-up only executes after the link is available,
which means never with that 127.0.0.2 remote address.
Thanks,
- e
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.