Linux-Networking Digest #21, Volume #11           Mon, 3 May 99 02:13:40 EDT

Contents:
  Re: Need help setting up a remote X-term. (Regit Young)
  Re: IP Masquerading ("Phill Edwards")
  Re: smbmount won't work with Redhat 6 ("AB")
  proftpd setup ("Bob Pollack")
  direct ethernet + PPP backup ([EMAIL PROTECTED])
  Re: Login as root (Rene Bauer)
  Re: ipmasq & traceroute issues ("Curt")
  Re: How use route command? ([EMAIL PROTECTED])
  Re: HP Deskjet 1600CM print from Linux???
  Installing via direct cable connection (DB7654321)
  Re: Trying to get 100Mbs out of a 3c905b card ("patrick mclennan")
  Re: linux friendly isp's ("Jonathan" >>)
  Re: Linux UDP ports above 61000 (Robert Lynch)
  xterminal kit, mouse problem ("Gerard Cornu")
  Re: InocuLAN detected the (Win95.Spanska_Happy99) virus in Mailbox (Public Folders), 
Sender (Steve Wiltshire) !!! ("Gerard Cornu")
  Routing management.. ("Hermin Lim")
  Question:  Any experience with Direct PC Connection? (Eric Chen)

----------------------------------------------------------------------------

From: Regit Young <[EMAIL PROTECTED]>
Crossposted-To: 
aus.computers.linux,comp.os.linux.x,comp.os.linux.setup,comp.os.linux.misc
Subject: Re: Need help setting up a remote X-term.
Date: Tue, 27 Apr 1999 00:54:15 +0800

Is there a error message ?

"Matthew B. Kennedy" wrote:

> Greetings Linux and X users,
>
> I am using RH Linux 5.2. What I am having trouble with is setting up a
> connection from my Linux machine at home to a remote computer at work in
> order to use X remote applications from home. The idea is that I will
> use my local Linux X server to get allow me to use all the graphical X
> applications on the remote computer.
>
> I can't find any real specific documentation on how to to this, but this
> is what I have tried:
>
> 1. I connect to the network using PPP (this all works -- I can access
> other services such mail and WWW for instance).
>
> 2. Then I telnet to the remote machine using "telnet
> remote-machine.qut.edu.au" from my xterm prompt in Linux. I can get in
> alright under text mode.
>
> 3. Once in the remote machine under telnet, I set the DISPLAY variable
> to be the (dynamically allocated) IP address of my local machine)
> followed by :0.0 (eg. export DISPLAY=131.181.123.456:0.0). Note, I get
> the local IP address information by running traceroute -- is there a
> better/ more direct way?
>
> 4. Then I run a graphical X application like xemacs. And it just hangs
> at the prompt.
>
> I have tried using the local "xhost" command to add
> remote-machine.qut.edu.au. But this doesn't seem to make much of a
> difference either.
>
> Note that I have previously been able to connect and access these X
> programs on the remote computer under windows using X server emulator
> like MIX and Xcursion. The technique was similar -- login with telnet,
> configure the DISPLAY variable on the remote machine and then fire up
> the X server emulator.
>
> Any help with this would be greatly appreciated. I thought using the
> dinki-di X server that comes with Linux would make it a breeze --
> obviously I'm doing something simple wrong...
>
> Thanks,
>
> Matthew
>
> --
> Matthew B. Kennedy
> Queensland University of Technology
> Australia

--
~ cry for help from a overworked box ~
I've been working for 9 weeks 6 days 4 hours 24 minutes
non-stop. Please ask my stupid owner to reboot me.
He can be reached at: [EMAIL PROTECTED]




------------------------------

From: "Phill Edwards" <[EMAIL PROTECTED]>
Crossposted-To: aus.computers.linux
Subject: Re: IP Masquerading
Date: Mon, 3 May 1999 14:28:01 +1000

I think you also need to set up IP forwarding. Actually I don't understand
the difference between masquerading and forwarding (anybody?) but there's an
excellent Linux Gazette article which explains how to set this stuff up at
http://lg.forcetech.com.au/issue26/kunz.html

The forwarding they describe and that works for me in my startup scripts is
#!/bin/sh
ipfwadm -F -f
ipfwadm -F -p accept
ipfwadm -F  -a m -S 192.168.1.0/24 -D 0.0.0.0/0

BTW - as of kernel 2.2 IP forwarding gets replaced by IP Chains. I haven't
dared try that yet!
Regards,
-- Phill --

John Hornblow wrote in message <[EMAIL PROTECTED]>...
>On Sun, 02 May 1999 15:26:54 +1000, Michael Junek
><[EMAIL PROTECTED]> wrote:
>
>>People,
>>
>>I am attempting to set up IP masquerading on Red Hat 5.0 (Kernel
>>2.0.32). I install the source, use make menuconfig and enable IP masq. i
>>then make dep, make clen, make zlilo, make modules, & make
>>modules_install. when i boot i get a whole heap of errors about modules
>>and my network card doesnt work, what have i done wrong?
>>
>
>same question but in my case, not errors
>but pinging outside the lan from the other machine doesnt kick diald,
>it just give no response....
>
>
>
>
>
>
>
>
>
>
>
>
>=====================================================
>John Hornblow
>homepage     http://homepage.ihug.co.nz/~johnhb/
>gliding page http://www.soar.co.nz/
>=====================================================



------------------------------

From: "AB" <(aaronb)@eskimo.com>
Crossposted-To: 
alt.linux,alt.os.linux,comp.os.linux.admin,comp.os.linux.redhat,comp.os.linux.setup,comp.protocols.smb
Subject: Re: smbmount won't work with Redhat 6
Date: Sun, 2 May 1999 19:22:44 -0700

Ray wrote in message <0W6X2.178$[EMAIL PROTECTED]>...
>I keep getting the error mount version 6 required. I have made sure I had
>the latest Samba 2.0.3
>I keep getting this error please help everything worked with 5.2.
>My command is smbmount //server/share /mountpoint -C -p password -U username

smbmount seems to be dain bramaged.  try
smbmount //server/share -C -p password -U username -c 'mount /mountpoint'





------------------------------

From: "Bob Pollack" <[EMAIL PROTECTED]>
Subject: proftpd setup
Date: Sun, 2 May 1999 21:08:41 -0700

I have proftpd installed on Redhat Linux 6.0. I wish to assign specific
users to specific directories and restrict them from going up from that
directory (they can get to folders within the directory). For example I
would like to have user "jack" when connecting put in /home/http/jack and
have access to all folders in that directory but not above it.  I find the
documentation for proftpd rather cryptic can anyone help?

Thanks,
Bob




------------------------------

From: [EMAIL PROTECTED]
Subject: direct ethernet + PPP backup
Date: Mon, 26 Apr 1999 16:49:30 GMT

I've searched through the postings, but am still
a bit in the dark. here's my setup:
linuxbox (2.0.36) with two nics and modem.
eth0 has valid ip, w/ direct internet acces.
eth1 is 192.168.1.1.

our win95 clients have valid ips, 207.197.211.x, and
private, 192.168.1.x. to make things simple,
we're keeping the valid ips for VNC's from outside, and
private addresses for masquerading whenever necesary.
if our direct access dies, i'm trying to route
192.168.1.x, via ip masquerading, through a ppp dial-up.
i've establsihed a ppp connection, but how do i force
masquerading to use the ppp0 device? recently our isp, verio,
had probems and we were left for a couple of weeks w/ intermitent
access. at the very least a ppp link would have allowed our
staff to check their mail....

any ideas?

TIA,
Bill

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

Date: Mon, 19 Apr 1999 17:38:31 +0200
From: Rene Bauer <[EMAIL PROTECTED]>
Subject: Re: Login as root

Magnus Therkildsen wrote:
> 
> Hi,
> 
> Login as a normal user first, then type: su
> Then you will be asked for root password. Use with care, the password is
> sent unencrypted over the network...
> 
So, you might consider using ssh.

Ciao,
Rene

-- 
Rene Bauer
TESIS SYSware GmbH, Munich (Germany)   
e-mail: [EMAIL PROTECTED]    phone: +49 (0)89 747377-26

Never trust a programmer with a screwdriver!

------------------------------

Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: ipmasq & traceroute issues
Date: Sun, 2 May 1999 19:42:15 -0500

I tend to agree.  It seems like a bug in traceroute.

Stephen <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> In article <7giek5$di9$[EMAIL PROTECTED]>, Paul Darbonne
> ([EMAIL PROTECTED]) mentioned:
> > Traceroute has a -i switch which allows an interface to be specified.
I.E.
> > traceroute -i ppp0 will trace starting with ppp0 rather than eth0
>
> Thanks for the tip. I'll use that, then. It does seem odd, though, that
> rather than use the default route (ppp0 is the default root -- there is
> no default route when not dialed in) it chooses the other one. That
> makes no sense to me...
>
> Regards,
> sj
> --
> [ Stephen | sj AT bigfoot DOT com (blame spammers for munged address) ]



------------------------------

From: [EMAIL PROTECTED]
Subject: Re: How use route command?
Date: Mon, 03 May 1999 04:39:08 GMT

Let me restate my problem, as it may have been ambiguous in my first posting.
We are trying to configure the client, not the actual gateway host.  I.e., we
are trying to configure the client at 192.168.1.1 to use the gateway host at
192.168.1.100 as its default gateway server.

Here are the full instructions given in the book:
/sbin/ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
/sbin/route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0
/sbin/route add default 192.168.1.100 dev eth0

My question:  is the last line a syntactical error or a variation of the more
common format of the route command, "/sbin/route add default gw 192.168.1.100
dev eth0" ?

(Although I have tested this command for myself, I cannot atest to the results
in other platforms, versions, and/or environments).

Thanks to all.

--Daniel


In article <7gckl3$m76$[EMAIL PROTECTED]>,
  "Greg" <[EMAIL PROTECTED]> wrote:
> /sbin/route add 192.168.1.100 eth0
> /sbin/route add -net 192.0.0.0 netmask 255.0.0.0 gw 192.168.1.100 eth0
>
> This is assuming that the 192.xx.xx.100 is where you want everything to
> route through. e.g. a box connected to the internet.
>
> also make sure your ipforwarding is turned on.
>
> That should get you going till you fine tune your lan.
>
> Greg.
>
> [EMAIL PROTECTED] wrote in message <7gba31$r1m$[EMAIL PROTECTED]>...
> >Hello,
> >
> >I am reading a book which states that in order to configure your
> >gateway server, you use the command
> >           "/sbin/route -add default 192.168.1.100 dev eth0"
> >The author leaves out "gw" .
> >Does anyone know if the "gw" part is NECESSARY or not?  I.e., was it a
> >typo or a variation on syntax.
> >
> >Thanks to all.
> >
> >--Daniel
> >
> >
> >
> >----- Posted via Deja.com, The People-Powered Information Exchange -----
> >------ http://www.deja.com/   Discussions * Ratings * Communities ------
>
>

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

From: [EMAIL PROTECTED] ()
Crossposted-To: comp.os.linux.hardware
Subject: Re: HP Deskjet 1600CM print from Linux???
Date: Sun, 2 May 1999 17:33:03 -0700

On 02 May 1999 17:43:23 -0400, Frank Sweetser <[EMAIL PROTECTED]> wrote:
>Robin Jackson wrote:
>
>> Hi
>>
>> I have an HP Deskjet HP1600CM printer (Postscript and Ethernet) that I
>> would like to be able to print to from Linux.
>>
>> I also have Samba installed but not fully working yet.
>>
>> Can anyone tell me in laymans term HOW I would get to print to this
>> printer?
>>
>> Many thanks.
>>
>> Robin
>
>By readining the printing-howto?

        Or, alternately, just use the control panel (if distro==redhat).
        
-- 
 
    Microsoft subjected the world to DOS until 1995.             |||
         A little spite is more than justified.                 / | \

         
                        In search of sane PPP Docs? Try http://penguin.lvcm.com

------------------------------

From: [EMAIL PROTECTED] (DB7654321)
Subject: Installing via direct cable connection
Date: 3 May 1999 04:53:17 GMT

I am new to Linux and wondered: Is there was a way to copy linux installation
files from a Win95 machine to a currently Dos machine using direct cable
connection?

------------------------------

From: "patrick mclennan" <[EMAIL PROTECTED]>
Subject: Re: Trying to get 100Mbs out of a 3c905b card
Date: Sat, 1 May 1999 22:07:32 -0500

yea i did that. Another thing that it does is it will detect and run at
100mbs when it is booting the kernel, and then once it loads the nic card in
the kernel the 100 mbs light goes out... so i dont know..


Michael Balderas <mike*no*spam*@yourhelpdesk.com> wrote in message
news:[EMAIL PROTECTED]
s.net...
> Have you restarted the Linux box since putting the hub in, or did you
> just replace the existing hub that was there without downing the
> workstations? The 3COM card won't pick 100mbs on the fly real well, a
> full restart should force it to redetect the connection before it gets
> to the OS. I am running a 905B card in one of my servers on a 10/100
> Autosensing Linysys hub. Using the default 905B driver that shipped in
> redhat 5.2 I get 100B without any hitches.
>
> Mike
>
>
> On Sat, 1 May 1999 12:56:17 -0500, "patrick mclennan"
> <[EMAIL PROTECTED]> wrote:
>
> >I am using @home and a redhat 5.2 router/firewall for my home network. I
> >just got a 10/100 mbs hub so i can run 100mbs on my network at home. The
> >problem is i don't think that my linux box is running at 100mbs because
the
> >light on my hub is not running.
> >
> >The NIC card that is going to my cable modem is a 3com 3c900 and the one
> >going to my network is a 3c905B.
> >
> >Before i got this 10/100 hub i just had a 10 hub and it worked fine and
so
> >does my network now and all of my machines do run at 100 except my linux
> >box... So I hope someone can help me
> >
> >Thanks
> >
>



------------------------------

From: "Jonathan" <<<[EMAIL PROTECTED]>>>
Subject: Re: linux friendly isp's
Date: Sun, 2 May 1999 16:09:57 +0100

This is a multi-part message in MIME format.

=======_NextPart_000_002E_01BE94B6.39478620
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

You can infact use Freeserve with Linux, In May PCPlus there is the =
scripts you need to do this. I would have put them in the message, only =
I forgot to bring the magazine to Uni with me... DOH! But they might be =
on the PCPlus web site:
http://www.pcplus.co.uk

Well, sorry I couldn't help more!!=20

Jonathan
  Nevyn <[EMAIL PROTECTED]> wrote in message =
news:7gaah8$pr9$[EMAIL PROTECTED]...
  ....can anyone please suggest a nice friendly isp for me to use with =
linux.....preferably free...i have attempted to access my freeserve =
acount but it wont let me for some reason......accepts username and =
password but then stops working........if anyone can suggest a solution =
i'd be greatful

=======_NextPart_000_002E_01BE94B6.39478620
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 =
HTML//EN">
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>You can infact use Freeserve with Linux, In May =
PCPlus there=20
is the scripts you need to do this. I would have put them in the =
message, only I=20
forgot to bring the magazine to Uni with me... DOH! But they might be on =
the=20
PCPlus web site:</FONT></DIV>
<DIV><FONT size=3D2><A=20
href=3D"http://www.pcplus.co.uk">http://www.pcplus.co.uk</A></FONT></DIV>=

<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Well, sorry I couldn't help more!! </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Jonathan</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV>Nevyn &lt;<A=20
  =
href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]=
o.uk</A>&gt;=20
  wrote in message <A=20
  =
href=3D"news:7gaah8$pr9$[EMAIL PROTECTED]">news:7gaah8$pr9$[EMAIL PROTECTED]=
r.pol.co.uk</A>...</DIV>
  <DIV><FONT color=3D#000000 face=3DBibleScrT size=3D3>....can anyone =
please suggest a=20
  nice friendly isp for me to use with linux.....preferably free...i =
have=20
  attempted to access my freeserve acount but it wont let me for some=20
  reason......accepts username and password but then stops =
working........if=20
  anyone can suggest a solution i'd be=20
greatful</FONT></DIV></BLOCKQUOTE></BODY></HTML>

=======_NextPart_000_002E_01BE94B6.39478620==


------------------------------

Date: Sun, 02 May 1999 22:04:23 -0700
From: Robert Lynch <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.tcp-ip,comp.lang.java.programmer
Subject: Re: Linux UDP ports above 61000

[EMAIL PROTECTED] wrote:
> 
> I recently got the Blackdown 1.2 java release running under Linux Redhat 5.2.
> While porting some networking software, I noticed that the high-numbered
> UDP port I had picked out of a hat was failing to allocate. A little
> experiment later showed that all UDP ports above 61000, all the way up
> to 65335, were failing. The same code under Irix and Windows worked in
> the upper port numbers (aside from a couple ports that were being used,
> probably by ephemeral ports.)
> 
> My question: what's up with the UDP port numbers above 61000? Is this
> a blackdown problem, something with the way I've got my Linux
> machine configured, or what?

This was pointed out by somebody some time ago and I also explored this
a bit.  It affects TCP ports, as is readily verified by using
ServerSocket in your code.

I wrote a "C" program which demos this, showing that it is not an oddity
of Java, but the OS (?).

Never figured it out.

Bob L.

> The java code (this is off the top of my head, actual code not handy
> right now) looks like this:
> 
> /**
>  * Test program, prints out UDP ports that can't be allocated.
>  * Compile: javac ClosedPorts.java
>  * Run: java ClosedPorts
>  *
>  */
> 
> import java.net.*;
> 
> public class ClosedPorts extends Object
> {
> public static void main(String args[])
> {
>   DatagramSocket socket;
>   int            portNo = 1024;
> 
>   while(portNo < 65335)
>    {
>      try
>       {
>         socket = new DatagramSocket(portNo);
>         socket.close();  // Close down, prevent too many open at once
>       }
>       catch(SocketException se)
>       {
>         System.out.println("Unable to open socket " + portNo + " " + se);
>       }
>     portNo++;
>    }
> } // end main
> 
> } // end class
> 
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
-- 
Robert Lynch-Berkeley CA [EMAIL PROTECTED]
http://www.best.com/~rmlynch/

------------------------------

From: "Gerard Cornu" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.x
Subject: xterminal kit, mouse problem
Date: 02 May 99 11:44:05 +0100

Hello 

I am using the xterminal kit from
ftp://ftp.solucorp.qc.ca/pub/xterm/xtermkit-990222.tar.gz
on a RedHat 5.2 Linux server, kernel 2.2.6.

I get the following message when starting X on the client
with /bin/xgo:

Cannot open mouse (Device or resource busy)

I removed gpm on the server to no avail.

I tested the client mouse under DOS on the same machine, 
works fine.

So I am now sure this is a configuration/software problem.

But after one day spent tracking it, I made no progress,
so I'll be much grateful for any help ;)

All the best,

Gerard Cornu.
CRI
Universite Lumiere Lyon 2


------------------------------

From: "Gerard Cornu" <[EMAIL PROTECTED]>
Subject: Re: InocuLAN detected the (Win95.Spanska_Happy99) virus in Mailbox (Public 
Folders), Sender (Steve Wiltshire) !!!
Date: 02 May 99 11:42:56 +0100

InocuLAN (InocuLAN) wrote
on 02-May-99 10:03:24, in comp.os.linux.networking:

What are those silly messages posted with Microsoft (R) Exchange Internet News 
Service Version 5.5.2448.0 ?

G�rard Cornu.


------------------------------

From: "Hermin Lim" <[EMAIL PROTECTED]>
Subject: Routing management..
Date: 3 May 1999 05:30:49 GMT

I want to have 2 NIC, and to make the flow-control with them.

With two 100 Mbps NIC, about 160Mbps stream goes out...

But I can't split the stream with two streams....

I have the route table with 2 NICs like this...

203.239.62.0   255.255.255.0    eth0
203.239.62.0   255.255.255.0    eth1

and,

eth0 : 203.239.62.111
eth1 : 203.239.62.112

But, all stream goes out through eth0.
How can I spilit the stream by two in same subnet?

( 'bind()' function in socket programming was ineffective...)


------------------------------

From: Eric Chen <[EMAIL PROTECTED]>
Subject: Question:  Any experience with Direct PC Connection?
Date: 3 May 1999 05:32:29 GMT

Hi,

   I have a need to use the Linux box as a router for direct PC 
connection.  Please share your experience in working with the direct pPC 
connection.  Thank you.  (I couldn't find any documents about his.  Any 
pointer will be apprecaited.)

---Eric

[EMAIL PROTECTED]

==================  Posted via SearchLinux  ==================
                  http://www.searchlinux.com

------------------------------


** 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
******************************

Reply via email to