[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux and 135
On Sun, 4 Oct 1998, Skliarouk Peter wrote:
> Somebody managed to use Linux with Bezeq's 135 number?
> What is their DNS numbers?
> How to get work connection to any provider?
Here is one, there are other ways to do this. This is good for testing. To
obtain the list of providers, dial 135 with minicom and capture == ON and
hang up after seeing the list. Save the captured file for reference.
For DNS, dial 135 using minicom, then select the provider you want, with
capture on. Most providers display the DNS address before they go PPP.
Hang up when you get PPP packets. Put this DNS into your system config.
I think there are open DNSs for .il ? Any1 ?
Not all providers work directly. Unless you are rich get an ISP account,
Nezeq will make a hole in your pocket in time. Note: move or delete your
original options file while using this, or use the specified options file
option for pppd and have it empty (touch...).
#!/bin/sh
#
# /usr/sbin/ppp-on.135 750 root.root
#
# Set up a PPP link via 135
#
# Usage: /usr/sbin/ppp-on.135 <provider-number>
#
if [ -z "$1" ]; then
echo "ppp-on.135: usage: ppp-on.135 provider_id" >&2
exit 1
fi
DEVICE=/dev/modem
PHONE=135
(
stty 38400 -tostop
if chat "" ATZ "OK" ATDT$PHONE "rovider:" $1
then
pppd \
modem lock crtscts defaultroute silent idle-disconnect \
600
exit 0
else
echo "PPP call failed" 1>&2
exit 1
fi
) <$DEVICE >$DEVICE &