Linux-Networking Digest #113, Volume #11 Tue, 11 May 99 09:14:29 EDT
Contents:
Re: Ipchains and lots of interfaces (Paul Rusty Russell)
Re: Solved (Was: Re: ipchains broken in Debian Potato?) (Paul Rusty Russell)
Re: ipfwadm and RedHat 6.0 (Paul Rusty Russell)
Re: ipfwadm masq ("Curt")
Re: Is this possible? (VPN+IPMASQ) (Jeremy Clark)
Re: respawning mgetty only some of the time (Wouter Liefting)
Re: get TTL from IP header (Wouter Liefting)
Re: Route and network broadcasts (Jon)
Re: hosts.allow / hosts.deny (mist)
Re: LinuxPing -> NTping net problems DEC PCI (mist)
Re: Setting Linux up to pass thru Wingate proxy (Kevin Gray)
how to make NE2000 PCI work? ("John Smith")
Re: HELP I can't connect to my ISP! ("Snoopy :-))")
ifconfig (ANTHONY)
Re: US Robotics 56k modem (Denis Kholodar)
Re: [Newbie] Troubles with ISA ethernet card ("Geoff Roach")
Re: US Robotics 56k modem (Denis Kholodar)
Re: US Robotics 56k modem (Denis Kholodar)
----------------------------------------------------------------------------
Subject: Re: Ipchains and lots of interfaces
From: Paul Rusty Russell <[EMAIL PROTECTED]>
Date: 09 May 1999 06:29:56 +0930
"Jan Johansson" <[EMAIL PROTECTED]> writes:
> >Use `-i eth0'.
>
> Now i am confused :) Hmm.. so what would be a rule to masquerade everything
> except local traffic?
Define local traffic. If local traffic means `traffic to and from my
masquerading box' then you CAN'T masquerade it, as it doesn't go
through the forward chain.
If local traffic means `traffic which doesn't go out eth0', then that
does it.
Rusty.
--
Tridge, Raster, DaveM, Cort, maddog... Where will you be 9-11 July 1999?
http://www.linux.org.au/projects/calu
------------------------------
Subject: Re: Solved (Was: Re: ipchains broken in Debian Potato?)
From: Paul Rusty Russell <[EMAIL PROTECTED]>
Date: 09 May 1999 06:37:03 +0930
Tomas Halvarsson <[EMAIL PROTECTED]> writes:
> I finally found out what was causing the problem. When I was
> running Slink, I had this line in my firewall startup script:
>
> # And then we accept packets to already established connections
> ipchains -A input -i $EXTIF -p TCP -d $EXTMACHINEIP ! -y -j ACCEPT
>
> Changing that line to this:
>
> # And then we accept packets to already established connections
> ipchains -A input -i $EXTIF -p TCP ! -y -j ACCEPT
>
> makes things work as expected under Potato.
You mean $EXTMACHIP, not $EXTMACHINEIP. You had it right in your last
post, so I don't know where you got the above...
$EXTMACHIP should work if that is your real external IP....
Rusty.
--
Tridge, Raster, DaveM, Cort, maddog... Where will you be 9-11 July 1999?
http://www.linux.org.au/projects/calu
------------------------------
Crossposted-To: comp.os.linux.misc
Subject: Re: ipfwadm and RedHat 6.0
From: Paul Rusty Russell <[EMAIL PROTECTED]>
Date: 09 May 1999 06:40:41 +0930
root <[EMAIL PROTECTED]> writes:
> I put some detector code in my firewall script and use a variable for either
> IPFWADM or IPFWADM-WRAPPER.
> My fragment looks like this:
> if [ -e /proc/net/ipfw-chains ] # detect IPCHAINS in use
> then
> set IPFW = "/usr/sbin/ipfwadm-wrapper"
> else
> set IPFW = "/sbin/ipfwadm"
> fi
>
> Then you can use $IPFW in the rest of your firewall script.
FYI:
1) You means /proc/net/ip_fwchains?
2) You can simply move /sbin/ipfwadm to /sbin/ipfwadm.real, and
ipfwadm-wrapper will do this for you.
Rusty.
--
Tridge, Raster, DaveM, Cort, maddog... Where will you be 9-11 July 1999?
http://www.linux.org.au/projects/calu
------------------------------
Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: ipfwadm masq
Date: Tue, 11 May 1999 06:18:24 -0500
Shouldn't this line read?
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
I think the way you had it was only going to allow 1 host to be masqueraded.
hullsy <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> HELP Please
> 2 Days later I am Still banging my head agains the table
> I have read every howto mini howto and usergroup posting I can find
>
>
> I have done to letter everything they have said and yet I can only ping
> from my linux box not the win98 boxs all the machines ping each other
> but not out onto the internet
>
> this is what ipfwadm has to say
>
> acc/m prot source destination ports
> acc/m all 192.168.1.2 anywhere n/a
>
> 192.168.1.2 being the first win98 machine 192.168.1.1 being the RH5.2
> box
>
> my command line is
>
> ipfwadm -F -p deny
> ipfwadm -F -a m -S 192.168.1.2/32 -D 0.0.0.0/0
>
> all the modprobes are done eg modprobe ip_masq_ftp etc etc etc
>
> I think the problem is with win98 dns setup or something if anyone
> can help it would be much appreciated
> Hullsy
>
> All I wont is all the machines on the my network to reach all aspects
> of the Inernet security right now is not a issue
>
------------------------------
From: Jeremy Clark <[EMAIL PROTECTED]>
Subject: Re: Is this possible? (VPN+IPMASQ)
Date: Mon, 10 May 1999 21:14:13 -0700
John Hardin wrote:
> Jeremy Clark wrote in message <[EMAIL PROTECTED]>...
> >
> >What I want to do
> >------------
> >- access the remote server behind the VPN server from my Linux box or my
> > Win98 client running behind IP MASQ
> >
> >Background
> >--------
> >I read through the Linux-VPN Howto but it didn't really answer my question
> >that I could find. I can successfully log onto the VPN server and access
> the
> >protected servers when I'm connected directly via Win98, but not (yet)
> when
> >I'm running Linux or running Win98 behind IP MASQ.
>
> You're *almost* reading the right stuff. Try the VPN Masq HOWTO at:
>
> ftp://ftp.rubyriver.com/pub/jhardin/masquerade/ip_masq_vpn.html
>
>
My bad. I forgot to mention I was reading that one too... so are you saying
that my scenario is possible then? I'm running 2.2.5 (RH6), do I still have to
patch the kernel?
thanks,
jeremy
------------------------------
From: Wouter Liefting <[EMAIL PROTECTED]>
Subject: Re: respawning mgetty only some of the time
Date: Tue, 11 May 1999 13:28:20 +0200
Hal Sadofsky wrote:
> This must be very simple, but I don't know how to do this. I wish to
> have my modem receive incoming calls, but only _part_ of the day. So
> I don't want to put this in inittab, since I'm not interested in
> rebooting twice a day.
>
> I'm interested in starting a getty on /dev/ttyS0, that will respawn,
> at, say 5pm every day, and killing it at 8am in the morning (so the
> computer _won't_ try to answer the phone during the business day, but
> only after hours).
>
> So a cron job seems like an obvious solution, but I don't know what
> the simple way to do "respawn" outside of inittab is.
>
> Thanks in advance if you can help me here.
>
> Hal Sadofsky
>
> Oh, FWIW, I'm using RedHat 6.0, kernel 2.2.5.
Think it isn�t that simple as you�d like it to be...
Here�s what I�d do: Create two crontab files, say /etc/crontab.1 and
/etc/crontab.2. The first one is with the mgetty, the second one without
it.
I�d then copy the crontab.1 to crontab at 5pm and crontab.2 to crontab at
8am (or the other way around) and then kill -HUP 1, which will refresh
init. You don�t need to reboot then.
That�s the quick and dirty way. A nicer way would perhaps to write some
kind of wrapper to mgetty, or maybe have run mgetty the whole day but
disable the serial port (with setserial) or disable the modem (something
like sending "ATS0=0" and "ATS0=1" to /dev/ttyS0 using cu or minicom -
but then again mgetty probably blocks the tty and you can�t do that).
Anyway, hope this helps.
- Wouter.
------------------------------
From: Wouter Liefting <[EMAIL PROTECTED]>
Subject: Re: get TTL from IP header
Date: Tue, 11 May 1999 13:20:57 +0200
frederic pont wrote:
> Hi all,
>
> I'd like to get the TTL from received multicast packets. Can I do it
> using RAW socket? How ?
You can probably do it with tcpdump. No need to write any software then.
- Wouter.
------------------------------
From: Jon <[EMAIL PROTECTED]>
Subject: Re: Route and network broadcasts
Date: 11 May 1999 11:40:45 GMT
I am trying to support some programs on the WINTEL boxes. They try and find
other clients by broadcasting to 255.255.255.255 and I would like this to be
routed accross the subnets.
------------------------------
From: mist <[EMAIL PROTECTED]>
Subject: Re: hosts.allow / hosts.deny
Date: Tue, 11 May 1999 10:54:15 +0100
Reply-To: mist <new$[EMAIL PROTECTED]>
R. Christopher Harshman <[EMAIL PROTECTED]> scribed to us that
-
>Is 'ALL EXCEPT' actually do-able? I tried configuring my box
>with:
>
>in.telnetd_3.1: ALL EXCEPT .org
>
>And hosts.deny ALL:ALL. Telnetted over to a friend's box (noses.org)
>and telnetted back into my box, no problem.
>
>Still searching...
Hmmm.. It should work. (or, rather, not work. 8-) I take it that
telnet is set up to go through the tcp wrappers? That is, that the line
in /etc/inetd.conf looks like
telnet stream tcp nowait nobody /blah/blah/tcpd in.telnetd
and not
blah .. blah blah.. /blah/blah/in.telnetd in.telnetd
?
It may also be a function of how the tcp wrappers were compiled and what
version they are, though that's just wild guessing..
Not that it would be much help, but does it still work if you have
in_telnetd_3.1 : ALL EXCEPT noses.org
?
--
Mist.
------------------------------
From: mist <[EMAIL PROTECTED]>
Subject: Re: LinuxPing -> NTping net problems DEC PCI
Date: Tue, 11 May 1999 11:26:40 +0100
Reply-To: mist <new$[EMAIL PROTECTED]>
Matt <[EMAIL PROTECTED]> scribed to us that -
>
>Changed the dummy route to..
>
>route del 192.168.10.2 dev dummy0
>
Good.
>and
>
>route del 192.168.10.0 dev eth0
>
Nope, you still need that route.
>changed to
>
>route add 192.168.10.2 dev eth0
>
That's nonsensical, as the linux box itself is 192.168.10.2
>Now I get the comments of..
>
>ping sendto: network is unreachable
>
Yup, because the -net route no longer exists. You will always need at
least one route saying which network flows across eth0, like
route add -net 192.168.10.0
along with the other stuff.
<snip older stuff>
So to recap, on the linux box you basically need.
ifconfig dummy0 down
ifconfig eth0 down
[just to remove everything]
ifconfig eth0 192.168.10.2 netmask 255.255.255.0 broadcast
192.168.10.255 up
^^^^^ That statement needs to be just one line, in case your newsreader
wraps it to two.
route add -net 192.168.10.0
Then that should be set up.
--
Mist.
------------------------------
Date: Thu, 06 May 1999 11:57:32 -0500
From: Kevin Gray <[EMAIL PROTECTED]>
Subject: Re: Setting Linux up to pass thru Wingate proxy
[EMAIL PROTECTED] wrote:
> I have been baning my head on this one.
>
> I am new to linux. I do have a little networking background. But every
> article I find regarding this problem seems to not relate to what I am
> looking for.
>
> Basicly this is what I need to know.
>
> I am running Wingate 3.0 on a win98 machine. I recenlty put linux on my
> other machine. I am trying to set linux up so that it can access the internet
> thru the wingate server. But I can't seem to even find out where to start.
>
> So far I have managed to get my ethernet card detected using eexpress.c.
> That was the EASY part. lol. I have read NET-3.HOWTO . No help there.
>
> Can someone please post a reply with some possible suggestions?
>
> Thanks,
>
> Mike Swearingen
>
> FYI - I am running Suse 2.2.5 if it matters.
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Hi Mike
At the moment i'm using Sygate as a proxy which I found a lot easier than
Wingate, but what you need to do is set up an ip address in the default gateway
setting. I'm not sure the easiest way to do this in SuSe as i'm used to
RedHat. But the steps you want to take are to look at your network settings in
suse and find an option for setting a gateway, then what you want to do is put
in the ip address that the win98 network card is set too. Also I think there
should be an option that will ask if this gateway allows IPv4 forwarding, you
would want to check this to allow wingate to forward the ip packets. As for
setting up wingate i'm not sure if you will come accross any problems, but you
may have to set up certain services that will allow you to use mail and
newsgroups. If you are able to switch to Sygate (www.sygate.com) I would
recomend it as there is nothing you have to do to get all the services, it is
just a matter of starting the service and it basicaly routes everything as if
you had a direct conection from your linux box.
Sorry I can't give you more detailed instructions but I have no idea about the
SuSe configuration, but i'm sure that it will have something within the network
settings and if you have managed to set up the nic then it's just a matter of
pointing it to the win98 machine by setting it up as a gateway machine. Hope
you get things to work out
Kevin.
------------------------------
From: "John Smith" <[EMAIL PROTECTED]>
Subject: how to make NE2000 PCI work?
Date: Tue, 11 May 1999 05:49:32 -0700
I've a PCI NE2000 compatible that works fine under Windows.
I recompiled my kernel with support for PCI NE2000 Adapter.
Now what should I do?
I already have an Ethernet card (ISA NE2000) that works fine on eth0.
Could someone help me configuring my NE2000 PCI on eth1 please?
Thank you in advance for you help!
John Smith.
------------------------------
From: "Snoopy :-))" <[EMAIL PROTECTED]>
Crossposted-To:
alt.comp.linux.isp,alt.os.linux,comp.os.linux.misc,nl.comp.os.linux,worldonline.linux
Subject: Re: HELP I can't connect to my ISP!
Date: Tue, 11 May 1999 00:54:59 -0400
You should say which Linux distibution you are using!!!
I am using RedHat 5.2 and I've had the same kind of problem.
If the modem doesn't respond and your com-port (cua#) is set correctly?
Then it's sounds like your irq# is incorectly set in Linux.
First check your Irq# setting in Windows (Hope you know how)
Then in linux (I am assuming you are using RedHat 5.2) check The "rc.local"
File-settings (You must be "root")
First read the file : "less /etc/rc.d/rc.local"
Or
Use the command "setserial -a /dev/ttyS2" (or /dev/cua2)
If the irq# is not the same as in windows then you will have to change to
the same as the one in windows. (You can also find your modem's irq setting
in the modem's manual)
Editing the "rc.local" file in emacs is quite easy. you can put the full
"setserial command" in your "rc.local" file or just modify the irq#
If you can connect to your Isp but cant connect to the web the probobly
your DNS is incorect which you can get from your ISP.
Hope it works
Snoopy :-))
van Leur wrote in message <7h4o6p$l9d$[EMAIL PROTECTED]>...
>I have problems setting up an PPP-Conection to my ISP. When I try to
connect
>to my ISP, PPPD returns code 2 (???) or some other programs say the modem
>doesn't respond or can't initialize.
>My modem is connected to COM3 in DOS/WINDOWS and works fine in Windows.
>Linux should recognize my modem, because it once connected but the
>connection was broke after 2 minutes (I wasn't able to surf on the WWW). I
>used the programs KPPP (from The K Desktop Environment) and X-ISP. I'm new
>to linux so please help me!!!
>
>Thanks
>
>Bram van Leur
>
>P.S. Sorry for my bad English. I'm from Holland
>
>
------------------------------
From: ANTHONY <[EMAIL PROTECTED]>
Subject: ifconfig
Date: Tue, 11 May 1999 12:57:33 +0800
Any body can tell me what's the reason whenever I issue the ifconfig
command (ifconfig eth0 ipaddress) it hangs ?
------------------------------
From: Denis Kholodar <[EMAIL PROTECTED]>
Subject: Re: US Robotics 56k modem
Date: Mon, 10 May 1999 00:13:53 -0400
guys, since i did exactly that today i thought i would jump in.
namely i did configure exact same model of the modem (a 3Com US
Robotics 56K) and i did have to deal with isapnp business for the
last day or two.
my modem was working for a long time (in my RH 5.1), but then i
configured my soound card, SB 64, and it screwed up my modem,
because when configuring it sndconf (pnpdump is the same thing but
doesn't create a file as i belive) created a NEW /etc/isapnp.conf
and as you noticed it doesn't uncomment there the right lines by
default. so check where you modem should be with for exampl
setserial /dev/ttyS1,2,3,4 then go to that /etc/isapnp.conf file,
uncomment the right lines and run isapnp with this file, and then i
needed to reboot.
here is my newborn uncommented (and without other stuff that i don't
need)
isapnp.conf:
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)
# Card 1: (serial identifier 02 14 12 91 dd e4 00 8c 0e)
# CTL00e4 Serial No 336761309 [checksum 02]
# Version 1.0, Vendor version 1.0
# ANSI string -->Creative SB AWE64 PnP<--
# Vendor defined tag: 73 02 45 20
#
# Logical device id CTL0045
(CONFIGURE CTL00e4/336761309 (LD 0
(INT 0 (IRQ 5 (MODE +E)))
(DMA 0 (CHANNEL 0))
(DMA 1 (CHANNEL 5))
(IO 0 (BASE 0x220))
(ACT Y)
))
# Card 2: (serial identifier 91 c3 93 8b a2 70 30 72 56)
# USR3070 Serial No -1013740638 [checksum 91]
# Version 1.0, Vendor version 0.0
# ANSI string -->U.S. Robotics 56K Voice INT<--
#
# Logical device id USR3070
(CONFIGURE USR3070/-1013740638 (LD 0
(IO 0 (BASE 0x02f8))
(INT 0 (IRQ 3 (MODE +E)))
(ACT Y)
))
# Returns all cards to the "Wait for Key" state
(WAITFORKEY)
note, my modem is at ttyS1.
good luck.
email me directly if you need more from me.
denis
Jeff Howard wrote:
>
> Keith,
>
> Take a real good look at your isapnp.conf file. The isapnp tools that come
> with RH 5.2 couldn't identify my modem (USR 56K internal faxmodem)
> properly. I think it was getting confused by my sound card or something.
> Anyway, the problem I was experiencing was the pnpdump utility was getting
> the wrong number in the parameter that identifies the Local (or Logical?)
> Device number for the modem:
> (CONFIGURE USR3050/4104249251 (LD 0
> The last 3 characters on the above line are very important.
> As I understand it, each pnp card may have several local devices installed
> on it. (midi, dsp, synth and so on for sound cards...) These are numbered,
> per card, starting at 0. Problem was that the darn utility wasn't resetting
> the LD value after it finished identifying my sound card devices and so the
> resulting LD value it was trying to use on the modem was 4. It should have
> been 0. It took me a little while to track this down.
> Also, you may need to play around with the IRQ and ports assigned to the
> modem in the isapnp.conf file. It'll probably be necessary to use setserial
> to make sure the TTYSx you're wanting to use for the modem is properly
> configured for the UART, port, and IRQ of the modem. I can probably help if
> ya run into problems on that. (I've done it a few times now... )
> I recently upgraded to RH6. There's a whole new bag of crap to sort through
> to get the modem working there...
> All in all, once it's working, it's an excellent piece of hardware.
> Good luck,
> Jeff Howard
>
> Keith Piwowarski wrote:
>
> > Has anyone out there successfully installed a 3Com US Robotics 56K
> > Faxmodem? I'm running Redhat 5.2, the isapnp tools produce config files
> > but I still can't get at the thing.
> >
> > Keith
------------------------------
From: "Geoff Roach" <[EMAIL PROTECTED]>
Subject: Re: [Newbie] Troubles with ISA ethernet card
Date: Mon, 10 May 1999 21:57:45 -0700
I am having a VERY similar problem on Redhat 5.2. Networking and Samba was
working. I have an ISA NE2000 compatible card. When I tried to run sndconfig
to set up the sound card, it blew away the networking and I have not been
able to revive it.
Any clues about where to look?
Touffi wrote in message <7gvoov$2id$[EMAIL PROTECTED]>...
>Hi,
>
>I own a ISA pnp NE 2000 compatible ethernet card.
>During Mandrake 5.3 installation process (network configuration part), it
>asks for wich module to use.
>I've tried Ne and compatibles, specified the io an irq that I found in
>Win98, but it still says that it doesn't find anything.
>Now, during the boot process, isapnp detect the board and gives some
>informations about it, wich I checked in isapnp.conf and are correct (irq,
>io).
>But I guess it's not enough, as it still doesn't work.
>
>insmod ne io=0240 irq=10
>-> says that the device is busy or unreachable
>cat /proc/devices
>->don't really know how to interpret what I see, but it doesn't seems that
>anything related to my card is in there.
>
>I've also tried a few other stuffs that I can't remember.
>
>I've read that the boot sequence should show a line begining with
"eth0=..."
>; I guess that if I can't even reach this point, it's nosense trying to
>configure my network under kde ... but correct me if I'm wrong 8-)
>
>As it's said in the topic, I'm a linux newbie and so I don't know if I'm
>giving the right information for you to help me. Please let me know if I
>forgot any crucial informations.
>
>Thanks by advance.
>
>Touffi
>
>
------------------------------
From: Denis Kholodar <[EMAIL PROTECTED]>
Subject: Re: US Robotics 56k modem
Date: Mon, 10 May 1999 00:15:34 -0400
guys, since i did exactly that today i thought i would jump in.
namely i did configure exact same model of the modem (a 3Com US
Robotics 56K) and i did have to deal with isapnp business for the
last day or two.
my modem was working for a long time (in my RH 5.1), but then i
configured my soound card, SB 64, and it screwed up my modem,
because when configuring it sndconf (pnpdump is the same thing but
doesn't create a file as i belive) created a NEW /etc/isapnp.conf
and as you noticed it doesn't uncomment there the right lines by
default. so check where you modem should be with for exampl
setserial /dev/ttyS1,2,3,4 then go to that /etc/isapnp.conf file,
uncomment the right lines and run isapnp with this file, and then i
needed to reboot.
here is my newborn uncommented (and without other stuff that i don't
need)
isapnp.conf:
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)
# Card 1: (serial identifier 02 14 12 91 dd e4 00 8c 0e)
# CTL00e4 Serial No 336761309 [checksum 02]
# Version 1.0, Vendor version 1.0
# ANSI string -->Creative SB AWE64 PnP<--
# Vendor defined tag: 73 02 45 20
#
# Logical device id CTL0045
(CONFIGURE CTL00e4/336761309 (LD 0
(INT 0 (IRQ 5 (MODE +E)))
(DMA 0 (CHANNEL 0))
(DMA 1 (CHANNEL 5))
(IO 0 (BASE 0x220))
(ACT Y)
))
# Card 2: (serial identifier 91 c3 93 8b a2 70 30 72 56)
# USR3070 Serial No -1013740638 [checksum 91]
# Version 1.0, Vendor version 0.0
# ANSI string -->U.S. Robotics 56K Voice INT<--
#
# Logical device id USR3070
(CONFIGURE USR3070/-1013740638 (LD 0
(IO 0 (BASE 0x02f8))
(INT 0 (IRQ 3 (MODE +E)))
(ACT Y)
))
# Returns all cards to the "Wait for Key" state
(WAITFORKEY)
note, my modem is at ttyS1.
good luck.
email me directly if you need more from me.
denis
Jeff Howard wrote:
>
> Keith,
>
> Take a real good look at your isapnp.conf file. The isapnp tools that come
> with RH 5.2 couldn't identify my modem (USR 56K internal faxmodem)
> properly. I think it was getting confused by my sound card or something.
> Anyway, the problem I was experiencing was the pnpdump utility was getting
> the wrong number in the parameter that identifies the Local (or Logical?)
> Device number for the modem:
> (CONFIGURE USR3050/4104249251 (LD 0
> The last 3 characters on the above line are very important.
> As I understand it, each pnp card may have several local devices installed
> on it. (midi, dsp, synth and so on for sound cards...) These are numbered,
> per card, starting at 0. Problem was that the darn utility wasn't resetting
> the LD value after it finished identifying my sound card devices and so the
> resulting LD value it was trying to use on the modem was 4. It should have
> been 0. It took me a little while to track this down.
> Also, you may need to play around with the IRQ and ports assigned to the
> modem in the isapnp.conf file. It'll probably be necessary to use setserial
> to make sure the TTYSx you're wanting to use for the modem is properly
> configured for the UART, port, and IRQ of the modem. I can probably help if
> ya run into problems on that. (I've done it a few times now... )
> I recently upgraded to RH6. There's a whole new bag of crap to sort through
> to get the modem working there...
> All in all, once it's working, it's an excellent piece of hardware.
> Good luck,
> Jeff Howard
>
> Keith Piwowarski wrote:
>
> > Has anyone out there successfully installed a 3Com US Robotics 56K
> > Faxmodem? I'm running Redhat 5.2, the isapnp tools produce config files
> > but I still can't get at the thing.
> >
> > Keith
------------------------------
From: Denis Kholodar <[EMAIL PROTECTED]>
Subject: Re: US Robotics 56k modem
Date: Mon, 10 May 1999 00:12:00 -0400
guys, since i did exactly that today i thought i would jump in.
namely i did configure exact same model of the modem (a 3Com US
Robotics 56K) and i did have to deal with isapnp business for the
last day or two.
my modem was working for a long time (in my RH 5.1), but then i
configured my soound card, SB 64, and it screwed up my modem,
because when configuring it sndconf (pnpdump is the same thing but
doesn't create a file as i belive) created a NEW /etc/isapnp.conf
and as you noticed it doesn't uncomment there the right lines by
default. so check where you modem should be with for exampl
setserial /dev/ttyS1,2,3,4 then go to that /etc/isapnp.conf file,
uncomment the right lines and run isapnp with this file, and then i
needed to reboot.
here is my newborn uncommented (and without other stuff that i don't
need)
isapnp.conf:
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)
# Card 1: (serial identifier 02 14 12 91 dd e4 00 8c 0e)
# CTL00e4 Serial No 336761309 [checksum 02]
# Version 1.0, Vendor version 1.0
# ANSI string -->Creative SB AWE64 PnP<--
# Vendor defined tag: 73 02 45 20
#
# Logical device id CTL0045
(CONFIGURE CTL00e4/336761309 (LD 0
(INT 0 (IRQ 5 (MODE +E)))
(DMA 0 (CHANNEL 0))
(DMA 1 (CHANNEL 5))
(IO 0 (BASE 0x220))
(ACT Y)
))
# Card 2: (serial identifier 91 c3 93 8b a2 70 30 72 56)
# USR3070 Serial No -1013740638 [checksum 91]
# Version 1.0, Vendor version 0.0
# ANSI string -->U.S. Robotics 56K Voice INT<--
#
# Logical device id USR3070
(CONFIGURE USR3070/-1013740638 (LD 0
(IO 0 (BASE 0x02f8))
(INT 0 (IRQ 3 (MODE +E)))
(ACT Y)
))
# Returns all cards to the "Wait for Key" state
(WAITFORKEY)
note, my modem is at ttyS1.
good luck.
email me directly if you need more from me.
denis
Jeff Howard wrote:
>
> Keith,
>
> Take a real good look at your isapnp.conf file. The isapnp tools that come
> with RH 5.2 couldn't identify my modem (USR 56K internal faxmodem)
> properly. I think it was getting confused by my sound card or something.
> Anyway, the problem I was experiencing was the pnpdump utility was getting
> the wrong number in the parameter that identifies the Local (or Logical?)
> Device number for the modem:
> (CONFIGURE USR3050/4104249251 (LD 0
> The last 3 characters on the above line are very important.
> As I understand it, each pnp card may have several local devices installed
> on it. (midi, dsp, synth and so on for sound cards...) These are numbered,
> per card, starting at 0. Problem was that the darn utility wasn't resetting
> the LD value after it finished identifying my sound card devices and so the
> resulting LD value it was trying to use on the modem was 4. It should have
> been 0. It took me a little while to track this down.
> Also, you may need to play around with the IRQ and ports assigned to the
> modem in the isapnp.conf file. It'll probably be necessary to use setserial
> to make sure the TTYSx you're wanting to use for the modem is properly
> configured for the UART, port, and IRQ of the modem. I can probably help if
> ya run into problems on that. (I've done it a few times now... )
> I recently upgraded to RH6. There's a whole new bag of crap to sort through
> to get the modem working there...
> All in all, once it's working, it's an excellent piece of hardware.
> Good luck,
> Jeff Howard
>
> Keith Piwowarski wrote:
>
> > Has anyone out there successfully installed a 3Com US Robotics 56K
> > Faxmodem? I'm running Redhat 5.2, the isapnp tools produce config files
> > but I still can't get at the thing.
> >
> > Keith
------------------------------
** 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
******************************