SLIP/PPP questions


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting SLIP/PPP questions
# 1  
Old 09-30-2010
SLIP/PPP questions

Hello all..

I need to script SLIP dial-up connections and wanted ask others about the following;

- does pppd support SLIP (noticed some releases do and some don't)
- if pppd doesn't support SLIP can bash variables be passed to a dip script (e.g. phone-number, ip-address)
- or is another means of establishing a SLIP connection

I have PPP dial-up connections working and was curious if anyone has ran into the following problem;

- each PPP connection established has a unique unit id (e.g. ppp0, ppp1 - basically the device numbers/indexes, in my case, are unique)
- from time to time chat timeout errors occur when initiating more than one PPP connection simultaneously (e.g. ppp0 on tty00, ppp1 on tty01, ppp2 on tty02)

Please advise if additional information is needed and I am using Ubuntu.

Thanks in advance.

Last edited by LAVco; 09-30-2010 at 09:03 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

No SMS notifications once ppp up

Hi all, I have an Siemens IoT2020 with a Sim7000e cellular board that I connect via USB to the board and connect to Telstra Cat-M1 network. I can send and receive SMS and do so using Node-Red but can also do with Minicom etc. When connected I get : root@iot2000:~# dmesg | grep USB ACPI:... (0 Replies)
Discussion started by: antc
0 Replies

2. UNIX for Dummies Questions & Answers

Not able to dial specific number using ppp

Hi all, I'm working on ppp establishment. When I tried calling a number using ppp, I could establish a PPP connection successfully. But, when I tried calling another ISP number, it is asking for authentication details whereas that is not the case with the other number. It throws an error saying... (0 Replies)
Discussion started by: sai2krishna
0 Replies

3. IP Networking

Load Balancing ppp

Hello everybody How can i Load Balance two slow ppp(gprs) connections with iptables . (4 Replies)
Discussion started by: rink
4 Replies

4. BSD

FreeBSD 8.2 Huawei E1750 ppp

Hi guys My DSL went down this morning and I needed internet to work. I searched for a config all over but couldn't find exactly what I wanted. After a bit I got mine working fine so I thought I'd post this to help anyone else out there. I am using a Huawei E1750 on T-Mobile UK running FreeBSD... (0 Replies)
Discussion started by: cmilos
0 Replies

5. Shell Programming and Scripting

Help with dial-up to multiple ppp servers

Hello all, I am trying to establish two ppp connections using chap authentication over dial-up. I am using the generic connect scripts and can connect to the first server but when I try to connect the second while the first one is connected there is a chat timeout that occurs. Any... (6 Replies)
Discussion started by: LAVco
6 Replies

6. Solaris

install PPP on Solaris 9

Background: I have been running Solaris 8 on an Ultra5 with 128MB and 4GB disk for years without upgrade. If it ain’t broke, don’t fix it. Now my ISP has upgraded their software, and no longer talks to my old (asppp!) software. Sun no longer ships newer versions of Solaris 8. So I bought Solaris... (1 Reply)
Discussion started by: sandee
1 Replies

7. IP Networking

CCP In PPP

Hi, I am using linux-2.6.10 mandrake. In which i am establishing PPP sessions with the peer.During the PPP negotiations i negotiate even CCP-deflate compression option. I just wanted to know the amount of memory which is being used in kernel space by the compression algorithms,when a ccp... (0 Replies)
Discussion started by: sriram.ec
0 Replies

8. IP Networking

How to get Caller Id in PPP

hello I am workin with PPP to send data from dos machine to unix & Linux machine using FTP with help of fax & voice modem(Caller id Enabled & Exchange provides facility). i need to identify phone(number) connect with Dos machine i.e. to identify from where data is send. so i want to get the... (0 Replies)
Discussion started by: yspl
0 Replies

9. IP Networking

PPP Network through TCP/IP

I have two unix systems. One is Redhat Linux and the other is Sun Solairs. I am runing PPP on my Linux machine but not on my Solaris machine. TCP/IP connects the two machines. I want to pick up PPP on both machines simultaneously with only one dial up connection on my linux machine. ... (4 Replies)
Discussion started by: Photon_Blast
4 Replies

10. UNIX for Dummies Questions & Answers

PPP in netcfg

Hi! I'm using RedHat 7.1 and I have some prolems with connecting with ppp. I have run modemtool and told that I'm using ttyS0. Whe I then try to set up a PPP connection using netcfg the PPP option is not there. I have all the other alternativs except PPP. What have I missed? (6 Replies)
Discussion started by: <Therapy>
6 Replies
Login or Register to Ask a Question
slattach(8)						      System Manager's Manual						       slattach(8)

NAME
slattach - Attaches a serial line to a network interface SYNOPSIS
/usr/sbin/slattach [{+|-} {c|e|i}] ttyname [baudrate] DESCRIPTION
The slattach command assigns a tty line to a network interface, allowing terminal devices to communicate across a network. The ttyname argument is the name of any valid tty device in /dev. This can be either the full path name (for example, /dev/tty01) or the name in /dev (for example, tty01). The optional baudrate argument is used to set the speed of the connection. The default speed is 9600 baud. The tty line is attached to the first available network interface (sl0, sl1, already be configured with the local and remote addresses of each end of the SLIP connection (see ifconfig(8)). Only a person with superuser authority can attach a network interface. To detach the interface, use the ifconfig interface_id down command after terminating the slattach process. interface_id is the name that is shown by the netstat command. FLAGS
Enables (+) or disables (- TCP header compression. Enables (+) or disables (- automatic TCP header compression. If enabled and the remote system is using TCP header compression, TCP header compression is automatically enabled on the local system. If both local and remote sys- tems have enabled this flag, TCP header compression is not used. One system must force the use of TCP header compression. Enables (+) or disables (- ICMP traffic suppression. If enabled, ICMP traffic (like that generated by ping(8)) is not allowed to pass over the SLIP con- nection. When the system is booted, all flags are initially disabled. Once a flag is enabled, it remains enabled until the system is rebooted or until another slattach command is issued with the flag disabled. NOTES
The slattach command requires the Serial Line Internet Protocol (SLIP), which the kernel must support. If making a SLIP connection to another Tru64 UNIX system, both systems must run slattach. If making a SLIP connection to a system not running the Tru64 UNIX operating system, the other system must support the SLIP protocol. EXAMPLES
To attach a tty device to a network interface, enter: /usr/sbin/slattach /dev/tty01 4800 This command attaches tty01 to a network interface to be used by the Serial Line Internet Protocol (SLIP). The connection speed is 4800 baud. To attach a tty device to a network interface at 19200 bits per second (bps), with TCP header compression enabled and ICMP traffic suppres- sion disabled, enter: /usr/sbin/slattach +c -i /dev/tty01 19200 FILES
Specifies the command path Contains the slattach process ID RELATED INFORMATION
Commands: netstat(1), ifconfig(8) Specifications: SLIP is described in RFC1055. TCP header compression is described in RFC1144. delim off slattach(8)