Linux-Networking Digest #731, Volume #10 Sat, 3 Apr 99 14:13:46 EST
Contents:
Re: Where can I find TCPDUMP for linux? (Vin Marshall)
Re: help with ipportfw and ipfwadm (Greg Weeks)
Diald control ("Chris Barton")
Re: ipchains and masq ("Prutser")
Re: dialup PPP problem - log messages (Clifford Kite)
Dialin-Server in WIN-Network: No browse-list on client (Martin Pauly)
Re: Help with Linux as Client on Sygate... (contains setup information to assist
([EMAIL PROTECTED])
dialup PPP problem - log messages (Jon Scott)
Where can I find TCPDUMP for linux? (Jean Le Brun)
Re: Two ne2k-pci cards problem (Stephen Carville)
Re: ipchains and masq (Marc Haber)
Re: ipchains and masq ([EMAIL PROTECTED])
Re: Newbie FTP Problem (Hannu)
SMC EtherPower card install/config problem... ("Sylvain Senechal")
gethostbyname() in Linux 2.2 differs from 2.0? (Bob Berman)
Re: Help with Linux as Client on Sygate... (contains setup information to assist)
("Charles R. Thompson")
Re: Why Windows requires special netmask?? (Len Philpot)
Webpage for Newbies (Charles 'childsplay' VanDyke)
Re: ipchains and masq ("William Evans")
Re: pppd probs ("William Evans")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Vin Marshall)
Subject: Re: Where can I find TCPDUMP for linux?
Date: 3 Apr 1999 16:07:04 GMT
here is network management stuff listed on sunsite, including tcpdump.
ftp://sunsite.unc.edu/pub/Linux/system/network/management/!INDEX.html
Vin
Jean Le Brun ([EMAIL PROTECTED]) said:
>> Where can I find TCPDUMP source and/or binary for Linux?
--
Vin Marshall -- University of Pennsylvania
Home: www.seas.upenn.edu/~vlm
Email: [EMAIL PROTECTED]
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Greg Weeks)
Subject: Re: help with ipportfw and ipfwadm
Date: Sat, 3 Apr 1999 10:40:00 -0600
In article <[EMAIL PROTECTED]>,
Bob Holcomb <[EMAIL PROTECTED]> writes:
> I'm runing redhat 5.2. I recompiled the kernel with the ipportfw
> patch. When I run ipportfw it says:
>
> "ipfwadm: setsockopt failed: Protocol not available"
>
> I don't know what this means, or how to fix it.
It means ipportfw doesn't think the support is in the kernel. Double
check the kernel config and make sure ipportfw is tuned on and double
check the kernel install and make sure you're really running the new
kernel.
Greg Weeks
--
http://durendal.tzo.com/greg/
------------------------------
From: "Chris Barton" <[EMAIL PROTECTED]>
Subject: Diald control
Date: Sat, 3 Apr 1999 16:43:11 +0100
have got diald working fine no problems , just playing around with it and
read the manual on dctrl and diald-control how can i get diald (pid 45) on
my system to accept SIGUSR1 and the other SIG**** commands also i have had
no luck with fifo cand some explain how to use
--
Chris Barton
[EMAIL PROTECTED]
------------------------------
From: "Prutser" <[EMAIL PROTECTED]>
Subject: Re: ipchains and masq
Date: Sat, 3 Apr 1999 18:51:15 +0200
use the firewall design tool at http://rlz.ne.mediaone.net/linux/firewall/
using the file produced there, I got mine to work
alternatively, Youmay want to look at
http://www.tor.shaw.wave.ca/~ambrose/index.html
good luck!
[EMAIL PROTECTED] wrote in message <7e4552$oe2$[EMAIL PROTECTED]>...
>After going over the How-to twice I am still unable to get ipchains to
>masqurade from a small home network to the internet. I can ping between
each
>maching, but only the router can png out onto the internet (although I did
>notice that the MASQ'ed boxes resolved name and still said "Destination
host
>unreachable." )
------------------------------
From: [EMAIL PROTECTED] (Clifford Kite)
Subject: Re: dialup PPP problem - log messages
Date: 3 Apr 1999 11:04:45 -0600
Jon Scott ([EMAIL PROTECTED]) wrote:
: Can anyone suggest a direction for tracking down a PPP dialup problem?
: The modem dials, the ISP answers, a connection seems to be established,
: but the connection times out after that.
..
: Apr 3 09:44:00 localhost chat[2104]: send (ATDT2342001^M)
: Apr 3 09:44:00 localhost chat[2104]: expect (CONNECT)
: Apr 3 09:44:00 localhost chat[2104]: ^M
: Apr 3 09:44:02 localhost ifup-ppp: pppd started for ppp0 on /dev/modem
: at 115200
: Apr 3 09:44:12 localhost last message repeated 2 times
: Apr 3 09:44:14 localhost chat[2104]: ATDT2342001^M^M
: Apr 3 09:44:14 localhost chat[2104]: CONNECT
: Apr 3 09:44:14 localhost chat[2104]: -- got it
: Apr 3 09:44:14 localhost chat[2104]: send (^M)
: Apr 3 09:44:14 localhost chat[2104]: timeout set to 5 seconds
: Apr 3 09:44:14 localhost chat[2104]: expect (~)
The root of the trouble is likely in the chat expect/send CONNECT ""
or CONNECT ''. You'll need to find the chat script and change
this to CONNECT '\d\c' to introduce a second of delay and suppress
the carriage return that "" or '' sends.
It would also be a good idea to remove the expect/send after this one that
must be something like ~-- '' and which throws out *two* confusing
carriage returns when the ISP is slow to start PPP. It actually did do
that here although it could be because the ISP was already confused by
the first carriage return from the CONNECT expect/send. I'd remove it
anyway.
I can't tell you which script contains the chat expect/sends since I
don't run RH.
--
Clifford Kite <[EMAIL PROTECTED]> Not a guru. (tm)
/* I gave up on politics when no matter who I voted for, I regretted it.
* -- Pepper...and Salt, WSJ */
------------------------------
From: [EMAIL PROTECTED] (Martin Pauly)
Subject: Dialin-Server in WIN-Network: No browse-list on client
Date: Sat, 3 Apr 1999 16:08:33 +0200
Hi!
I have the following problem:
I've configured a linux server in my network
as dialin-server with pppd.
Now I can connect from an NT-client via modem
to the whole network (ping works; share-connect
with explitly written destination - net use z: \\host\share -
also works).
I've also set up a DNS-server on the linux-server that
I can use from the NT-client via modem.
But now my problem:
I can't see the WINDOWS-hosts on the network in
the Network-Neighborhood of the NT-client although
I can connect to them.
Please help - what's wrong?
Thanks in advance
M.Pauly
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Help with Linux as Client on Sygate... (contains setup information to
assist
Date: 3 Apr 1999 15:01:10 GMT
Reply-To: [EMAIL PROTECTED]
On April 03 1999, "Charles R. Thompson" <[EMAIL PROTECTED]>
wrote:
> iminates me thinking the gateway wasn't
> configured properly. The problem is obviously on the Linux end
> since the Win clients can access the net and resolve names.
> There must be a name resolver either active in Linux, or it is
> not pointed towards the gateway to resolve hostnames.
Sounds like we are stuck in the same place. Which version of Sygate are
you using? Not that it has made a difference for me either using 2.0 or
the newly released 3.0. In the 3.0 there are some logs that show the
machine making contact, but for some reason it is not getting the
resolved names back. I also have a Win 98 machine on the same network
where everything work fine using 192.168.0.1 as the Gateway and DNS.
Let me know what you find out.
George Sherwood
[EMAIL PROTECTED]
--
- [EMAIL PROTECTED]
------------------------------
Date: Sat, 03 Apr 1999 10:53:04 -0500
From: Jon Scott <[EMAIL PROTECTED]>
Subject: dialup PPP problem - log messages
Can anyone suggest a direction for tracking down a PPP dialup problem?
The modem dials, the ISP answers, a connection seems to be established,
but the connection times out after that.
I've tried writing scripts to feed information to the ISP. I've tried
logging in through minicom and Win95's hyperterminal. Sending logs of
these sessions to the ISP brings a complaint from them that I'm "logging
into a different service of the IBM gateway". They gave me a sequence
of &s to send, but it never works. The sequence of characters the ISP
recommended seems to be from their Web sites SLIP recommendations, not
PPP, so I suspect that they were giving me bad advice. I suspect that
I'm not using the correct protocols somehow, but I have no idea what the
problem is.
The /var/log/messages entried from below came from a brand new ppp
connection created using Control Panel. PAP was enabled and I have
correctly set the ISP's DNS addresses.
Any suggestions will be greatly appreciated.
Jon Scott
Apr 3 09:43:57 localhost ifup-ppp: pppd started for ppp0 on /dev/modem
at 115200
Apr 3 09:43:58 localhost pppd[2102]: pppd 2.3.5 started by root, uid 0
Apr 3 09:43:58 localhost ifup-ppp: pppd started for ppp0 on /dev/cua1
at 115200
Apr 3 09:43:59 localhost chat[2104]: abort on (BUSY)
Apr 3 09:43:59 localhost chat[2104]: abort on (ERROR)
Apr 3 09:43:59 localhost chat[2104]: abort on (NO CARRIER)
Apr 3 09:43:59 localhost chat[2104]: abort on (NO DIALTONE)
Apr 3 09:43:59 localhost chat[2104]: abort on (Invalid Login)
Apr 3 09:43:59 localhost chat[2104]: abort on (Login incorrect)
Apr 3 09:43:59 localhost chat[2104]: send (ATZ^M)
Apr 3 09:43:59 localhost chat[2104]: expect (OK)
Apr 3 09:44:00 localhost chat[2104]: ATZ^M^M
Apr 3 09:44:00 localhost chat[2104]: OK
Apr 3 09:44:00 localhost chat[2104]: -- got it
Apr 3 09:44:00 localhost chat[2104]: send (ATDT2342001^M)
Apr 3 09:44:00 localhost chat[2104]: expect (CONNECT)
Apr 3 09:44:00 localhost chat[2104]: ^M
Apr 3 09:44:02 localhost ifup-ppp: pppd started for ppp0 on /dev/modem
at 115200
Apr 3 09:44:12 localhost last message repeated 2 times
Apr 3 09:44:14 localhost chat[2104]: ATDT2342001^M^M
Apr 3 09:44:14 localhost chat[2104]: CONNECT
Apr 3 09:44:14 localhost chat[2104]: -- got it
Apr 3 09:44:14 localhost chat[2104]: send (^M)
Apr 3 09:44:14 localhost chat[2104]: timeout set to 5 seconds
Apr 3 09:44:14 localhost chat[2104]: expect (~)
Apr 3 09:44:14 localhost chat[2104]: 28800/ARQ/V34/LAPM/V42BIS^M
Apr 3 09:44:17 localhost chat[2104]:
Apr 3 09:44:18 localhost chat[2104]: ^M
Apr 3 09:44:18 localhost chat[2104]: ^M
Apr 3 09:44:18 localhost ifup-ppp: pppd started for ppp0 on /dev/modem
at 115200
Apr 3 09:44:18 localhost chat[2104]: ^MWELCOME TO THE IBM INFORMATION
SERVICES.
Apr 3 09:44:18 localhost chat[2104]: ^MSYSTEM: IBM0SM02 TERMID:
IBMAQTD9 99/04/03 09:43:10
Apr 3 09:44:18 localhost chat[2104]: ^MCUSTOMER ASSISTANCE:
800-727-2222.
Apr 3 09:44:18 localhost chat[2104]: ^M
Apr 3 09:44:18 localhost chat[2104]: ^MENTER "HELP" FOR LOGON
ASSISTANCE.
Apr 3 09:44:18 localhost chat[2104]: ^M
Apr 3 09:44:18 localhost chat[2104]: ^MENTER USERID ACCOUNT.
Apr 3 09:44:19 localhost chat[2104]: alarm
Apr 3 09:44:19 localhost chat[2104]: send (^M)
Apr 3 09:44:19 localhost chat[2104]: send (^M)
Apr 3 09:44:19 localhost pppd[2102]: Serial connection established.
Apr 3 09:44:20 localhost pppd[2102]: Using interface ppp0
Apr 3 09:44:20 localhost pppd[2102]: Connect: ppp0 <--> /dev/cua1
Apr 3 09:44:23 localhost ifup-ppp: pppd started for ppp0 on /dev/modem
at 115200
Apr 3 09:44:58 localhost last message repeated 7 times
Apr 3 09:45:50 localhost last message repeated 10 times
Apr 3 09:45:50 localhost pppd[2102]: LCP: timeout sending
Config-Requests
Apr 3 09:45:50 localhost pppd[2102]: Connection terminated.
Apr 3 09:45:51 localhost pppd[2102]: Exit.
------------------------------
From: Jean Le Brun <[EMAIL PROTECTED]>
Subject: Where can I find TCPDUMP for linux?
Date: Sat, 03 Apr 1999 10:51:57 -0500
Where can I find TCPDUMP source and/or binary for Linux?
------------------------------
From: Stephen Carville <[EMAIL PROTECTED]>
Subject: Re: Two ne2k-pci cards problem
Date: Sat, 03 Apr 1999 07:53:04 -0800
Fam Staal wrote:
>
> Hi,
>
> I have a linux box (RH 5.1) with two NE2000 pci cards, but they use the
> same irq address if I bring them up, causing a hung-up. I can't change
> the irq number with ifconfig and the ne2k-pci module has no irq
> parameter.
>
> How do I change that stupid irq number???????
I have two ne2000 pci cards and have no problem with them being auto
detected and proper interrupts assigned at boot time. Instead of the
ne2k-pcl module I just use the ne module. Just for laughs, try changing
your conf.modules to:
alias eth0 ne
alias eth1 ne
--
Stephen Carville
[EMAIL PROTECTED]
====================================================
It's all right to have geniuses build systems for use by idiots, but
the path from laboratory to marketplace needs to go through the
proving ground of prudent engineering.
Peter Coffee
------------------------------
From: [EMAIL PROTECTED] (Marc Haber)
Subject: Re: ipchains and masq
Date: Sat, 03 Apr 1999 17:34:04 GMT
[EMAIL PROTECTED] wrote:
>Any hints would be welcome.
I don't know ipchains syntax (yet), but I'd add a last rule denying
and logging everything that would only be caught by the default policy
otherwise. That way, you can see nicely what kind of rule is missing.
Works fine with the old firewall.
ipfwadm -I -f
ipfwadm -I -p deny
ipfwadm -O -f
ipfwadm -O -p deny
ipfwadm -F -p deny
ipfwadm -A -f
<insert additional rules here>
ipfwadm -I -a deny -S 0.0.0.0/0 -D 0.0.0.0/0 -o
ipfwadm -O -a deny -S 0.0.0.0/0 -D 0.0.0.0/0 -o
ipfwadm -F -a deny -S 0.0.0.0/0 -D 0.0.0.0/0 -o
Something like that should do with ipchains, too.
Greetings
Marc
--
====================================== !! No courtesy copies, please !! =====
Marc Haber | " Questions are the | Mailadresse im Header
Karlsruhe, Germany | Beginning of Wisdom " | Fon: *49 721 966 32 15
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: ipchains and masq
Date: Sat, 03 Apr 1999 17:58:52 GMT
In article <7e4552$oe2$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> After going over the How-to twice I am still unable to get ipchains to
> masqurade from a small home network to the internet. I can ping between each
> maching, but only the router can png out onto the internet (although I did
> notice that the MASQ'ed boxes resolved name and still said "Destination host
> unreachable." )
My advice is: Try the browser and see if it works! I have my network setup
with Linux as a gateway and ping doesn't work from Linux machine or Win
machines, yet I am able to use the browser and email on ALL machines.
Make sure the DNS server IP address is set ip on all your machines !
BOb
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (Hannu)
Crossposted-To: comp.os.linux.misc,comp.os.linux.questions,comp.os.linux.redhat
Subject: Re: Newbie FTP Problem
Date: Sat, 03 Apr 1999 18:09:49 GMT
On Sat, 03 Apr 1999 07:18:36 GMT, Fenton Travers <[EMAIL PROTECTED]>
wrote:
Yes, that was it. In the same place you also find the modules ro
ReadAudio etc. I got both FTP and RealAudio going!
Thanks!
Hannu
>I have similar set up except with RH 5.1 and I needed to load the ip_masq_ftp
>module. I think the module loader is called insmod and is found in /sbin so I
>executed the following:
>/sbin/insmod /lib/modules/2.0.35-1/ipv4/ip_masq_ftp.o
>
>you may need some variation on this tho. I 'm not sure if this is the source of
>your problem
>
>
>Keith Keller wrote:
>
>> Stressed wrote:
>> >
>> > I have the typical Linux machine using IP masQ to connect my Windoze LAN to
>> > the net via cable modem. By typical I mean I used the typical addressing
>> > scheme (192.168.1.x) for the LAN and I use DHCP to get settings for my
>> > gateway interface.
>> >
>> > I have RHL 5.2 and it runs wu FTP (wu-2.4.2-academ[BETA-18-VR13]).
>> >
>> > Whenever I try to connect to a remote (Internet) FTP site from a Windoze
>> > machine, (going through the Linux masQ machine), I get the connection, but I
>> > get the following error and I'm unable to see, send or recieve data:
>> >
>> > 230 User mojo7 logged in.
>> > PWD
>> > 257 "/home/@c/h/c/mojo7" is current directory.
>> > SYST
>> > 215 UNIX Type: L8
>> > Host type (2): UNIX (standard)
>> > PORT 192,168,1,2,4,47
>> > 500 Illegal PORT Command
>> > ! port cmd failed.
>> > ! DoDirList failed 0
>> >
>> > Is this due to my masQing or to my FTP setup or both or what?
>>
>> Yes. :-) You need to also use the ip_masq_ftp
>> option in the kernel to allow machines behind the
>> masquerade ''gateway'' to FTP to the other side
>> of the masquerade properly. I load it as a module
>> in my startup files, though I suppose you could
>> also compile the option directly into the kernel.
>>
>> -- Keith
>> [EMAIL PROTECTED]
>
------------------------------
From: "Sylvain Senechal" <[EMAIL PROTECTED]>
Subject: SMC EtherPower card install/config problem...
Date: Sat, 3 Apr 1999 12:11:04 -0500
In got two SMC EtherPower II 10/100 in a Linux machine.
The problem is that the RedHat 5.2 setup did not recognize
the Network cards. Also, when try to configure them via
netconf, the boot up process tells me "unknown interface eth0"...
The cards just seems to be not recongnize.
But they are listed in /proc/pci file???
What can I do?
Please help... ;()
- Sylvain
------------------------------
From: Bob Berman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: gethostbyname() in Linux 2.2 differs from 2.0?
Date: Sat, 03 Apr 1999 13:27:31 -0500
I'm trying to get ppp 2.3.7 going in Linux 2.2. I have ppp 2.2.0 successfully
running under Linux 2.0.35, but under Linux 2.2, ppp 2.3.7 just hangs. I've
traced the hang to a call to gethostbyname() in ipcp.c. What I'd like to know is
why does this call work under 2.0, but not under 2.2? I use the same /etc/hosts
and /etc/host.conf. Maybe 2.0 wasn't rigorous enough and 2.2 is? If so, what can
I do to fix things?
In /etc/hosts, I have:
127.0.0.1 boomer.icehouse.com boomer
127.0.0.1 loopback localhost
In /etc/host.conf I have:
order hosts, bind
multi on
When I step in the debugger, hostname is set to "boomer"
This call in ipcp.c never seems to return:
if ((hp = gethostbyname(hostname)) != NULL) {
I don't run BIND or named or any DNS stuff locally.
My /etc/resolv.conf just has:
domain mindspring.com
nameserver IP address they gave me
What can I do to fix this (and hopefully not break anything else, like
especially sendmail)?
------------------------------
From: "Charles R. Thompson" <[EMAIL PROTECTED]>
Subject: Re: Help with Linux as Client on Sygate... (contains setup information to
assist)
Date: Sat, 03 Apr 1999 18:40:35 GMT
>What I am suggesting is to configure the Linux box to use the
same DNS
>addresses as the Windows box uses.
>As you have it set up now, the private address 192.168.x.x
would have to
>contain all of the DNS information about the entire Internet in
order to get
>the correct IP address back to the Linux box.
It does in a leap frog sort of fashion... because 192.168.0.1
(SyGate NIC Card 1) passes the request to SyGate NIC Card 2
(dedicated connection) which contains my ISP address for the Net
and the DNS servers. The second Windows Client machine
(192.168.0.2) works in this exact manner. It only points to the
gateway 192.168.0.1 and lists 192.168.0.1 as it's DNS server.
Everything from HTTP to FTP, Email and beyond works seamlessly.
I tried the fix you suggest earlier in hopes that it would do
the job. I added the DNS servers for my ISP to the list of
resolvers on the Linux but it didn't make a difference. Adding
external servers to the hosts file works, so it's pretty obvious
Linux isn't recognizing 192.168.0.1 as the DNS, or is not
passing the info through SyGate.
Let me ask this. The 'Default Gateway' is set to 192.168.0.1, I
read someplace in my travels that the default gateway is used
LAST. How can I ensure that it reads my primary gateway first?
My thinking is close to yours in that Linux might possibly be
looking around the LAN for these things (URLS to resolve) and
never even trying to search externally.
I checked and nothing that would resolve addresses seems to be
running on the Linux server so I don't think there is something
there that is 'blocking' the path. Could I be wrong?
CT
------------------------------
From: [EMAIL PROTECTED] (Len Philpot)
Subject: Re: Why Windows requires special netmask??
Reply-To: [EMAIL PROTECTED]
Date: Sat, 03 Apr 1999 16:10:41 GMT
On Sat, 03 Apr 1999 04:29:18 -0800, Vincent <[EMAIL PROTECTED]> wrote:
>>Reading the dhcpd manual, it states "some DHCP clients (e.g. Windows 95)
>>must be able to send packets with an IP destination address of
>>255.255.255.255". Correct me if I'm wrong, but if there is 3 different
>>classes of networks which has its own netmask:
>>
>>CLASS A - 255.0.0.0
>>CLASS B - 255.255.0.0
>>CLASS C - 255.255.255.0
>>
>>Where does the require 255.255.255.255 come from. Is this some sort of
>>Microsoft thing or what. Any ideas??
>>
>>Vincent
Is it saying a special *mask* or *address* is needed?
.255 is the broadcast address for a segment, IIRC.
------------------------------
From: Charles 'childsplay' VanDyke <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linus.setup,comp.os.linux.hardware,alt.os.linux
Subject: Webpage for Newbies
Date: Sat, 03 Apr 1999 11:51:37 -0600
I put up a lil web page with links to some good sites for the beginning
linux user.
I hope the page can help you our with the links like they did for me.
good luck with linux
*click the linux for newbies link on the left*
http://members.uss.net/childsplay/
--
Charles J VanDyke
[EMAIL PROTECTED]
Member Q/A TeamGameSpy
http://www.gamespy.com
------------------------------
From: "William Evans" <[EMAIL PROTECTED]>
Subject: Re: ipchains and masq
Date: 03 Apr 1999 11:08:21 -0500
>>>>> "qubes" == qubes <[EMAIL PROTECTED]> writes:
qubes> After going over the How-to twice I am still unable to get
qubes> ipchains to masqurade from a small home network to the
qubes> internet. I can ping between each maching, but only the
qubes> router can png out onto the internet (although I did notice
qubes> that the MASQ'ed boxes resolved name and still said
qubes> "Destination host unreachable." )
# ipchains -P forward DENY
# ipchains -A forward -s 192.168.2.0/24 -i ppp0 -j MASQ
# echo "1" > /proc/sys/net/ipv4/ip_forward
# ipchains -L
Chain input (policy ACCEPT):
Chain forward (policy DENY):
target prot opt source destination ports
MASQ all ------ 192.168.2.0/24 anywhere n/a
Chain output (policy ACCEPT):
works for me
I found this page *very* useful in the migration process from ipfwadm
to ipchains:
http://www.rustcorp.com/linux/ipchains/HOWTO.html
HTH
-bill
--
William Evans < william . evans @ computer . org >
------------------------------
From: "William Evans" <[EMAIL PROTECTED]>
Subject: Re: pppd probs
Date: 03 Apr 1999 11:22:41 -0500
>>>>> "Qozmoe" == Qozmoe <[EMAIL PROTECTED]> writes:
Qozmoe> hello. i'm using pppd in attempt to connect to my ISP and having no
Qozmoe> success at all. i can connect to my provider by using minicom and
Qozmoe> entering my username and password and then the ISP automatically
Qozmoe> launches it's ppp program. however, if i try to shut down minicom
Qozmoe> without resetting the modem and run pppd as suggested in the
Qozmoe> ppp-howto, a connection is never made and the server hangs up after
Qozmoe> a few seconds. if i try to run pppd automatically with
Qozmoe> a command like:
Qozmoe> pppd /dev/cua2 38400 connect 'chat -f /etc/ppp/script'
First of all, don't use /dev/cua? devices. They are deprecated in
2.2.x kernels, and will not be supported in the long term. Use
/dev/ttyS? instead.
Qozmoe> where /etc/ppp/script contains the following:
Qozmoe> ABORT BUSY
Qozmoe> ABORT 'NO CARRIER'
Qozmoe> "" AT
Qozmoe> OK ATDT3969891
Qozmoe> ost:--ost: username
Qozmoe> ord: password
Qozmoe> the modem never picks up to dial. i don't know, i'm new to ppp
Qozmoe> and linux in general so i could be overlooking something
Qozmoe> obvious, but i can't find anything in the howto or faqs that refers
Qozmoe> to this particular problem. anybody got any suggestions?
Who are you running this as? If not root, make sure that you actually
have execute permissions on /usr/sbin/pppd. pppd needs to be setuid
root if you plan on running it as anybody but root (for it to
configure the network device and routing tables).
If you're running it as root, well, let's see ...
Obviously, the modem is working, since you can dial up using minicom,
so it's not a hardware problem.
Is chat in your path? I found I had to include the full path for
chat, as in:
pppd /dev/ttyS2 38400 connect '/usr/sbin/chat -f /etc/ppp/script'
BTW: what speed modem is it? You may want to set the speed to 115200,
so with compression and all, it'll go as fast as the modem will
support, even if it's only a 28.8 or so. Make sure that the actual
serial port is a 16550A or better configured for spd_vhi with
setserial.
HTH
-bill
--
William Evans < william . evans @ computer . org >
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.networking) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Networking Digest
******************************