Linux-Networking Digest #982, Volume #9 Sun, 24 Jan 99 02:13:46 EST
Contents:
Re: SIOCADDRT: Invalid argument [SOLVED (I think)] (Villy Kruse)
Re: How to print on a Apple networkprinter? ([EMAIL PROTECTED])
Caching nameserver under Linux with Masquerading... ("Steven J. Hill")
Re: PPP/SLIP/Null Modem Connection Help (Rob van der Putten)
2 Linux machines 2 nics and a hub and something is wrong? (Darren Ford)
Re: deadlock of Linux ([EMAIL PROTECTED])
Re: ip masquerading and icq (Mike Patterson)
Re: remote access to a samba server (Matt Kressel)
Re: CHATSCRIPT Fails (Julian Bordas)
Connecting to Internet? ("Beetle")
Re: running X on a remote server (Athan)
Re: Mgetty ([EMAIL PROTECTED])
Re: VPN & IP Masq ("Roman Spitzbart")
Re: Firewall or IPMasq or Both: Need Recommendation ([EMAIL PROTECTED])
Re: how to setup a driver for sis6326 display card in RH5.2 Linux?
([EMAIL PROTECTED])
Re: DNS problem with linux gateway (David Jordan)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: SIOCADDRT: Invalid argument [SOLVED (I think)]
Date: 22 Jan 1999 19:47:21 +0100
In article <789mle$3js$[EMAIL PROTECTED]>,
Andrew Duchowski <[EMAIL PROTECTED]> wrote:
>Here's what I did to get rid of the "SIOCADDRT: Invalid argument" when
>starting networking manually via '/etc/rc.d/init.d/network start eth0'
>on my RH 5.1 linux box:
>
>The problem, as someone on the group suggested (thanks! although I
>didn't see it immediately), is (I think) due to a bogus default gateway
>being defined for device lo. Below I provide the "detective work"
>and below the solution.
>
Undefine the following variables in the file below GATEWAYDEV GATEWAY
That would be the proper way.
::::::::::::::
/etc/sysconfig/network
::::::::::::::
NETWORKING=yes
FORWARD_IPV4=no
HOSTNAME=xx.xx.xx.xx.nl
GATEWAYDEV=
GATEWAY=
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: How to print on a Apple networkprinter?
Date: Fri, 22 Jan 1999 18:48:42 GMT
In article
<[EMAIL PROTECTED]>, Thomas
Jostock <[EMAIL PROTECTED]> wrote:
> Hi,
> I use Suse 5.3 and have installed netatalk and afpfs for networking with
> MACs in our Appletalk network. Everything works fine but I have no idea
> how to print on our Apple laserprinter. The netatalk HOWTO didn't help me
> in that point. Does anyone have experience in printing using Appletalk?
> tsch=FCss
> =09Thomas=20
>
I'm trying to do this very thing. I have Redhat5.1 and have installed
netatalk+asun. Using the nbplkup tool, I am able to list all of the AppleTalk
devices available on the network. Using, pap, I try to print a file from my
Linux host to a LaserWriter IIg. But I receive errors from the printer itself.
Once I have success printing to the printer from Linux, I plan to build a
print-queue so I can print jobs from Windows 95, too. Any experiences will be
valuable. Thanks in advance.
Phil Burns
MD, USA
> -------------------------------------------
> Thomas Jostock =20
> I. Med. Klinik der =20
> Johannes Gutenberg Universitaet =20
> Abt. Pathophysiologie =20
> Obere Zahlbacher Str. 63
> D-55101 Mainz =20
> -------------------------------------------
> E-Mail: [EMAIL PROTECTED]
> WWW: http://homer.medizin.uni-mainz.de
>
>
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: "Steven J. Hill" <[EMAIL PROTECTED]>
Subject: Caching nameserver under Linux with Masquerading...
Date: Sat, 23 Jan 1999 23:20:45 -0600
I recently got my caching nameserver working for the most part under Linux. I
have only one problem remaining. I have one Linux box that is my firewall and
my modem is hooked up to it. I also have the caching nameserver running on it.
I have a second Linux box that I do all my stuff on, surf, etc. Netscape has
no problems with DNS queries, however, I cannot use 'nslookup' it always says:
*** Can't find server name for address 192.168.10.1: Non-existent host/domain
*** Default servers are not available
Below is are resolver configuration files. Could someone please explain why
I am having such a difficult time? And YES, I read the Linux DNS HOWTO. Thanks.
-Steve
'resolov.conf'
domain sjh.net
nameserver 192.168.10.1
'host.conf'
order hosts,bind
trim sjh.net.
------------------------------
From: Rob van der Putten <[EMAIL PROTECTED]>
Subject: Re: PPP/SLIP/Null Modem Connection Help
Date: Mon, 18 Jan 1999 12:04:44 +0100
Hi there
On 17 Jan 1999, Brian McCauley wrote:
> That looks like a standard null-modem cable to me. What do "most"
> look like then?
All sorts of wierd stuff.
> > The screen of the cable should be connected (soldered) to the connector
> > shell at both ends of the cable.
> Both? I thought that was not recommeded.
I know it is not recommended. I just don't agree with the recommendation.
Never mind the ground loops. If they are small they don't pick up much
hum. If they are big you shouldn't be using RS232 in the first place.
Regards,
Rob
------------------------------
From: Darren Ford <[EMAIL PROTECTED]>
Subject: 2 Linux machines 2 nics and a hub and something is wrong?
Date: Sun, 24 Jan 1999 05:26:26 GMT
Folks, I am about to go crazy here with problems. I have two machines
both running Red Hat 5.0. Both have NICs and are recognized during the
boot process. I reinstalled Red Hat on both machines to get a fresh
start. During the install I chose to set up networking for each
machine.
I want machine one(M1) to be able to connect to a cable modem later on
so I want it as a gateway.
M1(linux1.blank.net) M2(linux2.blank.net)
IP = 192.168.9.1 IP = 192.168.9.2
netmask = 255.255.255.0 netmask = 255.255.255.0
gateway = 192.168.9.1 gateway = 192.168.9.1
domain = blank.net domain = blank.net
These machines are both connected to hub. I cannot ping one machine
from the other but they can ping themselves and their dummy interface.
If I want M1 to be a gateway later on, setting the gateway IP to
192.168.9.1 is correct right?
Why can't these guys ping each other? I tried adding each of them to
the others routing table but that didn't work or I didn't do it right.
When I do a 'route -n' it shows that the entry is there.
Can somebody tell me what I'm doing wrong?
Thanks
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: deadlock of Linux
Date: Fri, 22 Jan 1999 18:17:19 GMT
Sure sounds link a interupt of DMA conflict. Most likely interupt. I would
think the best places to look would be the two nic cards involved and the
scsi system. Two of them and maybe all three may have the same Interupt
setting.
In article <[EMAIL PROTECTED]>,
"Erich Weber" <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I have installed a SuSE Linux with Kernel 2.0.33.
>
> More and more often the whole system hangs and shows the following messages
> on the console:
>
> eth1: Oops. Fragment 0 was not accepted (1)
>
> this message repeats very often - sometimes it is interrupted by the
> following message:
>
> SCSI aborting command due to timeout: pid 221548, scsi 0, channel 0, id 3
> lun 0 0x08 00 29 6d 02 00
> SCSI aborting command due to timeout: pid 221548, scsi 0, channel 0, id 3
> lun 0 0x0a 00 49 02 00
> SCSI aborting command due to timeout: pid 221548, scsi 0, channel 0, id 3
> lun 0 0x0a 00 40 57 06 00
>
> I have no other chance than to switch off the computer and restart it.
>
> the configuration of our system is as follows:
>
> eth0 - ethernetcard connects to internet - works fine
> eth1 - tokenringcard connects to internal network
> eth2 - ethernetcard connects to isdn-router - works fine
>
> The eth1-tokenringcard is from olicom. I'm already trying to get a new
> driver for this card up and running.
>
> What confuses me is the fact that the "eth1: Oops" message especially occurs
> if somebody (ie me ;-) connects to the Linux-machine over the internet
> (therefore through the ethernet-card!). The error occurs after downloading
> big files from the ftp-server... How can this affect the tokenring-card????
>
> Bye,
>
> Erich
>
>
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Mike Patterson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: ip masquerading and icq
Date: Fri, 22 Jan 1999 19:20:38 GMT
I have had ipautofw set every time I recompiled the kernel, though...are there any
other
settings that need to be on, or off, as well?
--
Mike Patterson
[EMAIL PROTECTED]
Juergen Kapfhamer wrote:
> I had the same problem with ipautofw. Just recompiled the kernel and set ipautofw on
>under
> networking options. Then it worked.
>
> Mike Patterson wrote:
>
> > I have been trying to use ipautofw myself, and every time I get the message:
> > setsockopt: Protocol not available
> > This happens no matter what options I try. Anyone know what might be causing this?
> > Also, ip masq modules are complaining of unresolved symbols. I haven't been able
>to
> > test if the modules are working. (I'm using Red Hat 5.2--2.0.36 kernel, if that
>makes a
> > difference.)
------------------------------
From: Matt Kressel <[EMAIL PROTECTED]>
Subject: Re: remote access to a samba server
Date: Fri, 22 Jan 1999 18:33:29 GMT
Andy Skunza wrote:
>
> I would like to install a Linux/Samba server to provide file and print
> sharing for 25 win95/98 clients. The Linux box would also need to
> provide IP Masquerading for the clients. I think I can figure that
> stuff out. But what I can't figure out is: How could a remote win95/98
> client, once on the internet thru their ISP dial up connection, mount
> the Samba share? Also, would a pentium 266 w/ 64MB of ram be enough
> machine for these tasks. Thanks for any suggestions.
Assuming your Linux/Samba machine had a static IP address then you could
specify the share as "\\192.168.X.X\share" if "192.168.X.X" is its
static IP and "share" is the winshare name. You could use "tcpd" and
edit the file "/etc/hosts.allow" to set up access lists so only certain
hosts can use the share. Since Windows file sharing is bandwidth
intensive, unless you have a fast connection, you probably will notice a
slowness. This may be a security risk too, since you will be allowing
remote hosts access to your internal services.
Note also, that 192.168.X.X could be replaced with a machine name if
that IP has a DNS entry.
If the Linux/Samba is on the Local LAN, then it would be under Network
neighborhood (assuming you set Samba up correctly). The machine you list
should have no problem with it. I would make a decent swap partition
though, say 64MB as well.
-Matt
--
Matthew O. Kressel | INTERNET: [EMAIL PROTECTED]
+--------- Northrop Grumman Corporation, Bethpage, NY ---------+
+--------- TEL: (516) 346-9101 FAX: (516) 346-9740 ------------+
------------------------------
Date: Sun, 24 Jan 1999 14:15:02 +1100
From: Julian Bordas <[EMAIL PROTECTED]>
Subject: Re: CHATSCRIPT Fails
This is a multi-part message in MIME format.
==============49AD03931100C71CC2B04053
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
> Hello
I tried the script the log file told me
TIMEOUT 10
ABORT ERROR
ABORT BUSY
ABORT (NO CARRIER)
ABORT (NO DIALTONE)
REPORT (CARRIER)
REPORT (CONNECT)
expect ()
alarm
Connect script failed
Fail
Exit
Again any ideas?
The modem does work, I use minicom to connect to RMIT
Julian Bordas
>
>
> Here is a copy of my pppscript file... it may help you
>
> ... try to use " " instead of ' '
>
> TIMEOUT 10
> ABORT ERROR
> ABORT BUSY
> ABORT "NO CARRIER"
> ABORT "NO DIALTONE"
> REPORT "CARRIER"
> REPORT "CONNECT"
> "" AT&F1 (init string...)
> "ATDT9999999"
> TIMEOUT 75
> CONNECT ""
> blah...blah..
--
Microsoft; The really good marketing company that occasionally produces
semi-workable software.
==============49AD03931100C71CC2B04053
Content-Type: text/x-vcard; charset=us-ascii;
name="JBordas.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Julian Bordas
Content-Disposition: attachment;
filename="JBordas.vcf"
begin:vcard
n:Bordas;Julian
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Julian Bordas
end:vcard
==============49AD03931100C71CC2B04053==
------------------------------
From: "Beetle" <[EMAIL PROTECTED]>
Subject: Connecting to Internet?
Date: Sat, 23 Jan 1999 21:29:39 -0800
I am interested in getting a DSL sevice and hook up my computers and my
roommate's computers to the net.
I just purchased the Red hat Linux for my DEC Alpha server, is it possible
to set up the Linux so it act as a "Proxy" so my lan can connect to the net?
Do I need to have two NICs on my DEC Alpha server if I do that?
Thanks for your help!
------------------------------
From: Athan <[EMAIL PROTECTED]>
Subject: Re: running X on a remote server
Date: Fri, 22 Jan 1999 18:36:19 +0000
Reply-To: [EMAIL PROTECTED]
>From on off my old postings
Next time go to www.dejanews.com and write a question, saves time
and you get better anwsers
A good application for windows is x-win32
Box 1 redhat Send X server
box 2 HP ?? Receive X server
Type in HP Xhost or xhost +XXX.XXX.XXX.XXX [ip of RedHat]
Telnet from HP to RH then type [In bash]
export DISPLAY=XXX.XXX.XXX.XXX:0.0
^^^IP of HP
then xterm &
That is all
Athan
"ASHUTOSH SHARMA(97D07026)" wrote:
> How can i start X server of a remote machine ??
> Is there any way to do this?
> -Ashutosh
>
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Mgetty
Date: Fri, 22 Jan 1999 18:29:43 GMT
Great. Thanks for the taking the time.
The modems are USR 56k external faxmodems.
Here is a line from /etc/inittab
s0:23:respawn:/usr/local/sbin/mgetty -D -x2 /dev/ttyS0
Here is the login.conf string for pppd for mgetty.
/AutoPPP/ - ppp /usr/sbin/pppd auth -chap +pap login modem crtscts
proxyarp lock
Here is the mgetty log for a particular line. Notice the low connect speed.
01/22 03:58:48 ##### data dev=ttyS0, pid=4128, caller=none,
conn='14400/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/sbin/pppd',
user='/AutoPPP/ '
Here is a login/logout log file for a user.
Jan 17 21:55:07 telnet pppd[821]: pppd 2.3.3 started by ppp, uid 0
Jan 17 21:55:07 telnet pppd[821]: Using interface ppp0
Jan 17 21:55:07 telnet pppd[821]: Connect: ppp0 <--> /dev/ttyS0
Jan 17 21:55:10 telnet PAM_pwdb[821]: (ppp) session opened for user shad by
(uid=0)
Jan 17 21:55:10 telnet pppd[821]: user shad logged in
Jan 17 21:55:11 telnet pppd[821]: found interface eth0 for proxy arp
Jan 17 21:55:11 telnet pppd[821]: local IP address 207.55.28.149
Jan 17 21:55:11 telnet pppd[821]: remote IP address 207.55.28.154
Jan 17 22:08:40 telnet pppd[821]: Hangup (SIGHUP)
Jan 17 22:08:40 telnet pppd[821]: Modem hangup
Jan 17 22:08:40 telnet PAM_pwdb[821]: (ppp) session closed for user shad
Jan 17 22:08:40 telnet pppd[821]: Exit.
I didn't know if it would be appropriate to slap the entire mgetty.config
file in here. If you still would like to see it let me know. I didn't want to
over flow this mail with to much at one time. I'll gladly post it though if
you think it will help. Hope this gives you enough to help me out. Thanks for
the time to look into it. I realy appreciate it. Keith
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (M. Buchenrieder) wrote:
> [EMAIL PROTECTED] writes:
>
> >I have mgetty on one of my systems handling ppp dialin connections. The lines
> >seem to be very unstable. Users connect and the line disconnects or becomes
> >stale but still alive within about 5 min. I have USR 56k modems. I have tried
> >port speeds at all levels. and a couple of differnt inits for the modems.
>
> [...]
>
> Please show us
>
> /etc/inittab
> mgetty.config
> and the mgetty logfiles, while running with -x 9 or similar .
> Which USR modem are you trying to use ?
>
> Michael
> --
> Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
> Lumber Cartel Unit #456 (TINLC) & Official Netscum
> Note: If you want me to send you email, don't mungle your address.
>
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: "Roman Spitzbart" <[EMAIL PROTECTED]>
Subject: Re: VPN & IP Masq
Date: Fri, 22 Jan 1999 20:28:54 +0100
You have to do something called port-forwarding on your linux machine. For
further information visit
linuxsite,webjump.com.
Ellick Johnson schrieb in Nachricht <[EMAIL PROTECTED]>...
>Is there a way to VPN to a VPN server that is being IP masq'd by linux? I
>have a NT machine on a private IP that uses IP Masq to get to the internet.
>Is there a way I can get to that machine back throught the IP masq from the
>internet? I'm using RH 5.1.
>
>Thanks,
>Ellick Johnson
>[EMAIL PROTECTED]
>
>
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Firewall or IPMasq or Both: Need Recommendation
Date: Fri, 22 Jan 1999 19:28:16 GMT
My confussion/question is if my web and mail server are behind the FW, how
will the outside get to those by legit users? Anybody should be able to send
mail to me and access the web server. Do I have to have them out from behind
the FW? This is where I am confused about where to use FW, where to use
ipmasq and/or both. Any ideas on how to clear this up for me?
Thanks,
Mike
In article <01be4623$a769c8c0$cc34dea1@cbcgren023103>,
"Ima Maroon" <[EMAIL PROTECTED]> wrote:
> I use ip masquerading and I can get inbound connections. I believe it all
> depends on what you setup in your hosts.allow and hosts.deny (or ip.allow
> and ip.deny, whichever is the correct one). If you setup in hosts.deny
> ALL:ALL then no one will be able to get in. So there's a degree of
> flexibility there. You can allow some people from certain sites, and
> disallow all others.
>
> --
> Ima Maroon
>
> [EMAIL PROTECTED] wrote in article
> <789ue7$o84$[EMAIL PROTECTED]>...
> > This may not be the most appropriate group to post this question, but I
> am
> > sure enough list members have the experience to point me in the right
> > direction.
> >
> > I have a small ISP that I need to make some changes and I am not sure
> that the
> > FWTK is the best/correct approach. First let me say that my main
> problems is
> > that I do not have enough IP addresses from my provider. I need more. I
> > thought be using FWTK that would be the best solution. Now I am not so
> sure...
> >
> > I am concerned about security, although it is not the main reason for
> > considering FWTK; shortage of IP's are, BUT I am planning to change my
> > provider and I do NOT want to have to have my clients re-ip when I
> change...
> > I have looked at IPmasqurade and that looks fine except it does not
> support
> > inbound connections (right?)
> >
> > Anyway, If somebody can give me some guidance on which way to go I would
> > greatly appreciate it. I need basic services to work inbound and outbound
> > with minimum customization, if at all possible. I have read the RTFM
> until I
> > am blue in the face and am now totally confused. I technically can
> implement
> > most of the options, but which one is the most appropriate has got me
> > baffled!!!
> >
> > TIA,
> >
> > Mike
> > (please copy to [EMAIL PROTECTED])
> >
> > -----------== Posted via Deja News, The Discussion Network ==----------
> > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
> >
>
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Sat, 23 Jan 1999 22:46:34 -0800
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Crossposted-To:
apana.lists.os.linux.redhat,hk.comp.os.linux,linux.redhat.applixware,linux.redhat.axp,linux.redhat.install,linux.redhat.list,linux.redhat.misc,linux.redhat.ppp,linux.redhat.rpm,tw.bbs.comp.linux
Subject: Re: how to setup a driver for sis6326 display card in RH5.2 Linux?
try a pci card instead of agp. i have an inter i740 agp 8 meg 3dgfx
accelerator, and i had the same problem. i put in my old aopen 4 meg .. it
has s3virge chipset on it. picked it up in a heartbeat. look for the actual
name on the video card itself. you may be able to use that too
Alexander wrote:
> i was already setup a Redhat 5.2 linux but it can't recognize my display
> card
> SIS6326 AGP 8mb RAM.
> When i start "startx", the screen is very large, all icon is enlarge.
>
> So, how can i update my display card driver.
> Pls give me some advice, thx
> I'm so poor, pls tell me step by step, thx
------------------------------
From: David Jordan <[EMAIL PROTECTED]>
Subject: Re: DNS problem with linux gateway
Date: Fri, 22 Jan 1999 19:42:04 +0000
If your internet connection is fast and reliable (i.e. not a modem),
Install Bind 4 or 8 and read the howto on caching only nameserver :-) I
do :-)
David Jordan
Nortel wrote:
>
> My linux gateway with IP masquerade enable has a problem with its DNS
> lookup. I have a LAN with 4 Windoze host machines connected to a linux
> gateway with IP masquerade configured. The hosts work fine with some
> applications like Web and ICQ. However, my linux gateway cannot resolve
> internet domain name. I can resolve names within the LAN thru. the
> hosts file. Everytime i try "ping www.yahoo.com" there is no reply.
> when i try "nslookup", i got the following
>
> *** Can't find server name for address xxx.xxx.xxx.xxx: No response from
> server.
>
> xxx.xxx.xxx.xxx is the DNS i use for every host machines.
>
> my resolv.conf has the entry
>
> nameserver xxx.xxx.xxx.xxx
>
> and nsswitch.conf
>
> hosts: files dns
>
> looks like resolver cannot talk to the dns i specified.
> Please help.
>
> Thanks
> Matthew
--
David Jordan
`fortune -s`
------------------------------
** 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
******************************