Linux-Networking Digest #440, Volume #10          Tue, 9 Mar 99 22:13:34 EST

Contents:
  Re: setting DISPLAY variable (Declan)
  Re: how to set kernel limits? (Seth Van Oort)
  Write permisions on Directories created through Samba ("Curtis Adams")
  DHCP Core Dumps! ("John L. Papp")
  Samba : Win98 password... ("squale")
  Re: weird module behavior and pppd rh5.2/2.2.2 (matt)
  Re: how to connect nt workstation to linux server? (David Kirkpatrick)
  Re: KDE pppd Problem (James Dunn)
  Re: Linux as LAN Gateway (JoeBlow)
  Re: Permanet Connection Not Available ("flinx")
  Ascertain actual connect speed (Douglas Hensel)
  Re: How to telnet .... (Craig Behnke)
  Network Newbie Question ("H.G.Williams")
  how to get network to start? ("Craig Shields")
  NIC works, DHCPcd works, but still can't ping out?? (IpSo)
  Re: Linux Dial on Demand ("Kees Bouman")
  suse 5.3 and ppp-up - anything goes! (Elvis)
  HELP: IP Accounting with 2.2 kernel ("Patrick Gibson")
  Re: modem lock - more info (Josh Folcik)

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

Crossposted-To: comp.os.linux.x,comp.os.linux,comp.os.linux.help
From: Declan <[EMAIL PROTECTED]>
Subject: Re: setting DISPLAY variable
Date: Wed, 10 Mar 1999 00:03:05 GMT



try a 'route -n' and that gives you your (local) ip-address.

from your server (assuming unix), type: (woithout the quotes) 
'setenv DISPLAY=your.local.ip.address:0'

(or may a different syntax: (WITH the qutoes)
DISPLAY='your.local.ip.address:0'

you might also have to give permission for your campus host to connect
to you local machine. From youre local machine try:
xhost your.campus.address (eg/ net.perdue.edu or someting)

if that doesnt work, then i dunno

-declan


ps: i think newsgroup people might prefer it if you didnt cross-post.

On Tue, 9 Mar 1999, Cher-Wah Tan wrote:

>i'm trying to start emacs, which is residing on my campus's server,
>while using linux as my client.  but it says something about cannot
>display.  i guess i need to set the DISPLAY variable to some value.
>
>could someone help?
>thanks a bunch!
>
>--
>am i the only die-hard linux advocate with a tatooed pengium on my arm?
>
>
>
>
>
>


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

From: Seth Van Oort <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.misc
Subject: Re: how to set kernel limits?
Date: Wed, 10 Mar 1999 00:25:14 +0000

David Henry wrote:
> 
> How do I know how many processes my system will allow? how many open
> sockets?
> If not enough, how can I change the limits?
> 
> I've scanned the LDP pages and my copy of System Afmin Guide but can't
> see anything there.
> 
> Please help. I'm planning an application that gets input from 250
> network devices. My idea was to have a separate thread and socket for

The default max nr of tasks is 512, but you can set it up to 4092 or
4090 with APM configured (stated in include/linux/tasks.h, this is where
you can set it also). I would think select() would give a lot better
performance. Since the normal max fds per task is 256 maybe split it
over two tasks. Just wondering if you're aware that linux threads are
always separate tasks.

Seth

> each device. Is that practical?
> 
> David Henry
> [EMAIL PROTECTED]
> ICQ 23144758

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

From: "Curtis Adams" <[EMAIL PROTECTED]>
Subject: Write permisions on Directories created through Samba
Date: Tue, 9 Mar 1999 14:58:09 -0500

I've setup Samba on my Linux machine and have shared drives. When I create
files on the Linux machine via a Windows95 workstation, the permission
are -rwxrwxrwx (this is what I specified in the smb.conf file by using
'create mode = 0777'). However when I create a directory on the Linux
machine, it's permissions are -rwxr-xr-x  How can I get set write
permisssions also, by default, so that other users can save information in
the new directory?

Thanks for the advice,
Curtis




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

From: "John L. Papp" <[EMAIL PROTECTED]>
Subject: DHCP Core Dumps!
Date: Tue, 09 Mar 1999 19:19:06 -0500
Reply-To: [EMAIL PROTECTED]

I just got ASDL and installed RedHat 5.2 with ethernet support.  The
kernel has no problem locating the NIC at the correct I/O and IRQ
value.  However, DHCP fails at boot.  When I run the daemon from the
command line (/sbin/dhcpcd), I get a core dump.  The NIC is a 3COM
EtherLink III 3c509B-TPO 10BaseT.  I am currently using the 3c50x driver
pre-compiled in the kernel.  I have no problem running the system out of
NT and 98 and all the green lights are on telling me there is a
connection when I try from Linux.  Since I am getting a core dump, I
think I might have an installation problem.  The installed version is
dhcpcd-0.70-2.  Kernel is 2.0.36-0.7.

Any help would be appreciated.

--
John L. Papp
Aerospace Engineer/System Administrator
Computational Fluid Dynamics Research Laboratory
e-mail:  [EMAIL PROTECTED]
web:  www.cfdrl.uc.edu/~jpapp/



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

From: "squale" <[EMAIL PROTECTED]>
Subject: Samba : Win98 password...
Date: Tue, 9 Mar 1999 21:00:30 +0100

I've got troubles with win98 to access non-public directories. With the
debug level 10 I see no passwd sent. In the opposite, I can access any
directory with Linux (on win server or Linux server). Does anybody see any
way to fix this ? Is it a problem with the win95 bug fix or a problem with
windows 98 ?

Thanks for your anwers.




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

From: matt <[EMAIL PROTECTED]>
Subject: Re: weird module behavior and pppd rh5.2/2.2.2
Date: Mon, 08 Mar 1999 00:10:57 +0000

add the lines:

alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate

to your /etc/conf.modules file


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

From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: how to connect nt workstation to linux server?
Date: Tue, 09 Mar 1999 19:40:39 +0000
Reply-To: [EMAIL PROTECTED]

Start with help - network, NT has a bunch of information about
setting up.

John Louis wrote:
> 
> Well, I can use win95 connect to my samba server, but how to configure
> nt workstation ?
> 
> Louis

-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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

From: James Dunn <[EMAIL PROTECTED]>
Subject: Re: KDE pppd Problem
Date: 9 Mar 1999 21:31:37 GMT


dooogh! wrote:
> 
> I'm using Mandrake 5.3 with kde desktop. I configured kppd correctly for 
my
> isp, it dials out and establishes a connection to my isp but does not
> recieve any data after login name and password. I show 156 bytes of data
> recieved in the details. Can't browse or do anything else. I called my 
isp
> but they are not familiar with Kppd. They said that all my setting were
> correct though. Any ideas why this is happening????
> 
> 
> 
>                                                 Thanks!


> Had the same problem. Found that this fixed it: 
Re-check your settings in Kppp: Be sure that (1)Auto Configure Hostname 
from this IP is UNCHECKED and (2)Assign Default Route to this Gateway is 
CHECKED. Usually the latter is the culprit. Hope this helps.

  
> 


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

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

From: [EMAIL PROTECTED] (JoeBlow)
Subject: Re: Linux as LAN Gateway
Date: Wed, 10 Mar 1999 01:32:30 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 9 Mar 1999 00:28:46 -0800, "LrdElder" <[EMAIL PROTECTED]>
said:

>Check out the IP masquerading mini HOWTO ..... although it's a slow
>connection, and some things aren't fully supported most programs are. I have
>a Windows/Linux peer to peer connection with a 56K connection to the
>internet on the Linux end, I can only get about 5K from the Windows. I think
>this is mainly because the Linux machine is a 486/100 mhz with 16 megs RAM,
>and it just can't handle the load of editing all the packets coming through
>it in a timely fashion. If your users will mainly just be checking email,
>and browsing the web, it would probably be a good choice.
>
Your Linux machine should easily handle far more then 5k/sec
I had a AMD 486/133 with 12MB set up for masquerading 4 or so other
Linux and Winbloze machines on my local network and I easily got
300-500k/sec to the downline machines, or pretty much limited to the
internet sites I was downloading from with my cable modem.  And this
same Linux box was also running Samba, Apache, Sendmail, and various
other things.


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

From: "flinx" <[EMAIL PROTECTED]>
Subject: Re: Permanet Connection Not Available
Date: Tue, 9 Mar 1999 19:11:14 -0600

Do you have WINS server settings enabled on your windoze box?

Mail me if you want more help.

[EMAIL PROTECTED]


Dennis Gesker wrote in message <[EMAIL PROTECTED]>...
>I forgot to mention above that I am trying to map to a WinNT 4.0 PDC
>server.
>
>Dennis
>
>Dennis Gesker wrote:
>>
>> I've been able setup PPP to allow dialin users using RH5.2.  However,
>> when I attempt to map a network drive from the remote Windows9x  machine
>> I get the following error:
>>
>> The following error occoured while reconnecting F:\\windowsnt\pub
>>
>> Permanent connection not available.
>>
>> Do you want to restore this connection next time?
>>
>> Any tips on fixing this problem or direction to documentation would be
>> helpful.
>>
>> The PC acting as the dialup server is an old IBM PS/Value point 486 SX
>> with 16 MB of RAM. Dialup serving is the only task that this machine
>> will be asked to perform.
>>
>> Dennis



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

From: Douglas Hensel <[EMAIL PROTECTED]>
Subject: Ascertain actual connect speed
Date: Tue, 09 Mar 1999 16:34:55 -0500

try this out. I found it on Linux Gazette web site:
(www.linuxgazette.com) Hope this helps


Date: Wed, 22 Jul 1998 23:06:27 +0000
From: NP, [EMAIL PROTECTED]

What speed is my modem connecting at ?

Got a new 56K modem and wondering how it's doing ? Fed up with seeing
"115200" ?

(This assumes Red Hat 5.0)...

Edit /etc/sysconfig/network-scripts/chat-ppp1 (or whatever chat file you
use) Insert a line:


'REPORT' 'CONNECT'

Edit /etc/sysconfig/network-scripts/ifup-ppp

Change this line:


connect "/usr/sbin/chat $chatdbg -f $CHATSCRIPT"

to:


connect "/usr/sbin/chat $chatdbg -f $CHATSCRIPT" 2>/dev/console

- to log to the console, or:


connect "/usr/sbin/chat $chatdbg -r /var/log/modem-speed -f $CHATSCRIPT"

- to log to a file /var/log/modem-speed

You'll see entries like:


chat:  Jul 22 22:31:06 CONNECT 52000/ARQ/V90/LAPM/V42BIS

(If you're lucky!)

NP



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

From: Craig Behnke <[EMAIL PROTECTED]>
Subject: Re: How to telnet ....
Date: Tue, 09 Mar 1999 11:54:16 -0800


        There's a good reason root isn't allowed to telnet in, folks. And
telnetting in as a normal user and su'ing to root doesn't fix it. When
you're connecting, if anyone anywhere along the pipe from your keyboard
to the receiving machine is running a sniffer, and you either telnet in
as root, or telnet in as a normal user & su to root, bingo- the sniffer
has your root password. It's a whole, _whole_ lot safer to leave telnet
turned off for root access and allow only encrypted, secure
transactions. Install ssh or one of the other secure services, limit
connections to only those machines you know you will be remotely
connecting from, and make it public policy that anyone who has
administrative privilages and su's to root over an open session will be
maimed. This can make your life much, much simpler in the long run,
especially if you have a very open network with many untrusted segments
between dialup service and remote host (as is often the case in
academia). A little better, even, would be to ssh in as a normal user,
and then su to root-- still secure & encrypted, and you have a log of
who went root when, and what happens after that can be laid at the
appropriate door.

                                                --Craig

Rick Onanian wrote:
> 
> [EMAIL PROTECTED] wrote:
> >
> > Hi,.
> >
> > Dear the only possibilty I see to telneting as root on remote machine
> > is by assigning an user id of 131072 to root ( which is deemed by
> > kernel as uid 0 ) and by PAM authentication protocol as normal user
> > trying to telnet from outside ..
> 
> If you just want to telnet in as root, you can edit the /etc/securetty
> to include the ttypX terminals you want to be able to use root (X being
> a number from 1 to whatever the highest telnet terminal you've got is)
> 
> Or, slightly more secure, would be to telnet in as a regular user, and
> then "su -" to root, is exactly the same.
>

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

From: "H.G.Williams" <[EMAIL PROTECTED]>
Subject: Network Newbie Question
Date: Tue, 09 Mar 1999 18:36:13 -0600

I have a 2 machine home network, one is win '95, the other Linux. Both
have Ethernet cards installed (the win '95 is a NE2000 compat and Linux
is a 3Com 905). RedHat v5.2, kernel 2.0.36 is the software.

I want to just configure TCP/IP for both and have done the following:
Linux                           Win '95
IP=192.168.15.2                 192.168.15.4
Netmask=255.255.255.0           255.255.255.0
gw=192.168.15.254               192.168.15.254

the whole thing is started by scripts and manually by:
route add -net 192.168.15.0 eth0
route add default gw 192.168.15.254

They are connected via a hub, and the LED's are on.

Yet, when I run 'ping 192.168.15.4' from the Linux box, there is no
response (if I ping it's own IP, there is a reply). Same thing from the
win '95 box. I can ping it's IP, but not the Linux box. I've changed
cables, hubs, NIC's, all to no avail! I've read Net3 from cover to
cover, twice, no help. I have a 'host' file on both machines (even a
LMHOSTS on the '95 box). I can run -
        route print
and get the following info: (206.133.136.82 is my ISP addr).
Active Routes:

  Network Address          Netmask  Gateway Address        Interface 
Metric
          0.0.0.0          0.0.0.0   192.168.15.254    
192.168.15.4       2
          0.0.0.0          0.0.0.0   206.133.136.82  
206.133.136.82       1
          0.0.0.0          0.0.0.0     192.168.15.0    
192.168.15.4       2
        127.0.0.0        255.0.0.0        127.0.0.1       
127.0.0.1       1
     192.168.15.0    255.255.255.0   192.168.15.254    
192.168.15.4       2
     192.168.15.0    255.255.255.0     192.168.15.4    
192.168.15.4       2
     192.168.15.4  255.255.255.255        127.0.0.1       
127.0.0.1       1
   192.168.15.255  255.255.255.255     192.168.15.4    
192.168.15.4       1
    206.133.136.0    255.255.255.0   206.133.136.82  
206.133.136.82       1
   206.133.136.82  255.255.255.255        127.0.0.1       
127.0.0.1       1
        224.0.0.0        224.0.0.0   206.133.136.82  
206.133.136.82       1
        224.0.0.0        224.0.0.0     192.168.15.4    
192.168.15.4       1
  255.255.255.255  255.255.255.255     192.168.15.4    
192.168.15.4       1

Can someone PLEASE tell me why these 2 boxes can't "talk" to one
another? I'm at wit's end on what else to do. I've read Net-3, the doc's
that came w/v5.2, and everything else I can connect to, read, or
otherwise. Can someone please help????


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

From: "Craig Shields" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: how to get network to start?
Date: Tue, 9 Mar 1999 16:59:40 -0500

Hello,
I've been struggling with getting my laptop (RH5.2) on the network at my
work.  I have access to the Internet through the network  (no dial-in).
I've been using netcfg to set up gateway, routing and IP info and think it
might be correct, but I'm not sure because I can't get
/etc/rc.d/init.d/network to accept the 'start' command.  My RH manual says
to restart the network connection for the new settings to take place.  I
think the usage is /network [start, stop, restart, reload, status, probe]
and several of them work for me...  (stop, status and probe)  Whenever I
type /network start (or restart) I get the output 'SIOCADDRT: Invalid
argument'.  I've even tried going to the /etc/rc.d/init.d directory and
typing './network start', but get the same output.
Any ideas??

Thanks,
Craig Shields



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

From: [EMAIL PROTECTED] (IpSo)
Subject: NIC works, DHCPcd works, but still can't ping out??
Reply-To: [EMAIL PROTECTED]
Date: Tue, 09 Mar 1999 22:15:13 GMT

Hello, well I finally got dhcpcd to work, I needed v1.3 instead of 0.7
:) Anyways, Im trying to setup a IP-masq Linux box to give my LAN
access to the internet.  I have both NICs working, the one connected
to the local network works great, and if I specifiy an IP I can get
the second NIC on the net, and the entire system works flawlessly. But
as some know shaw@home (around here anyways) only uses DHCP therefore
if I specify my own IP, it only works for about 2 days before all of a
sudden the internet is no longer accessible. So... my question is WHY,
even when DHCPcd obtains an IP, can I not ping the internet??

This is what I get when I ping shaws gateway:

PING 24.65.4.1 (24.65.4.1): 56 data bytes
ping: wrote 24.65.4.1 64 chars, ret=-1
ping: wrote 24.65.4.1 64 chars, ret=-1
ping: wrote 24.65.4.1 64 chars, ret=-1
ping: wrote 24.65.4.1 64 chars, ret=-1
ping: wrote 24.65.4.1 64 chars, ret=-1
ping: wrote 24.65.4.1 64 chars, ret=-1

--- 24.65.4.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss

====================================================

here is my IFCONFIG output:
=========
o        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0 

eth0      Link encap:Ethernet  HWaddr 00:4F:4C:02:14:02  
          inet addr:192.168.1.1  Bcast:192.168.1.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0 
          Interrupt:10 Base address:0x300 

eth1      Link encap:Ethernet  HWaddr 00:4F:4C:02:15:AC  
          inet addr:24.65.160.74  Bcast:24.65.160.255
Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500
Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          Collisions:0 
          Interrupt:11 Base address:0x280 
=======

here is my route table:
=======
Destination     Gateway         Genmask         Flags Metric Ref
Use Iface
24.65.4.1       *               255.255.255.255 UH    0      0
0 eth1
localnet        *               255.255.255.0   U     0      0
0 eth0
24.65.160.0     *               255.255.255.0   U     0      0
0 eth1
default         24.65.4.1       0.0.0.0         UG    0      0
0 eth1
======
localnet = 192.168.1.0
=======


here is what DHCPcd gets from shaws DHCP server.
=======
IPADDR=24.65.160.74
NETMASK=255.255.255.0
NETWORK=24.65.160.0
BROADCAST=24.65.160.255
GATEWAY=24.65.4.1
HOSTNAME=cs744575-a
DOMAIN=kldt1.bc.wave.home.com
DNS=24.64.223.149
DHCPSIADDR=24.2.10.70
DHCPSHADDR=00:00:77:8E:63:C6
DHCPSNAME=
LEASETIME=172800
RENEWALTIME=86400
REBINDTIME=151200

Thanks in advance.



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

From: "Kees Bouman" <[EMAIL PROTECTED]>
Subject: Re: Linux Dial on Demand
Date: Tue, 9 Mar 1999 22:51:56 +0100


[EMAIL PROTECTED] wrote in message <7c23ib$bpn$[EMAIL PROTECTED]>...
>I have a small 486, running as an ISDN router for a small subnet in my home
>office. I have reserved static IP addresses from my ISP.
>
>The router is set up with kernel 2.2.2, with ppp running in dial-on-demand
>mode. Everything works fine on the front.
>
>The problem is, that when I try to access one of the computers on the
subnet,
>from another using telnet (or whatever), the router dials and makes the
>connection to the ISP, *even though I am accessing a local address*. Even
>worse, if the link is down for any reason, then I am unbale to telnet to
any
>other machines on the local network (It connects, and waits indefinately
for
>the PPP link to come up).
>
>Subnet is xxx.xxx.113.225 through xxx.xxx.113.239, subnet mask
255.255.255.240
>Default gateway xxx.xxx.113.225 - (i.e. the router)
>
>Please help, this is costing be a fortune!
>

Typical problem with smb's causing the line to go up.
Try to block them with the firewall on ports 137-140.



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

From: Elvis <[EMAIL PROTECTED]>
Subject: suse 5.3 and ppp-up - anything goes!
Date: Tue, 09 Mar 1999 23:18:56 +0100

in /var/log/messages i can see, that i get my IP and after that my modem
sends the same shit over and over again, after a few tries - timeout.
I raelly would use linux for the internet, so if anyone knows...


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

From: "Patrick Gibson" <[EMAIL PROTECTED]>
Subject: HELP: IP Accounting with 2.2 kernel
Date: Tue, 09 Mar 1999 18:32:29 -0800

I have a 2.2 kernel running with ipchains. In older kernels, there was an 
option for IP Accounting, and you used ipfwadm to turn it all on.

The 2.2 kernel doesn't seem to have an IP accounting option, nor can I find
any mention of it in ipfwadm. I need to be able to track how much data is
going through the server.

Also, what tools can I use to see a better report on the IP accounting of
the system than looking at the ip_acct file in /proc?

Thanks,

Patrick

PS: Please reply both via email and to this newsgroup. Thanks again!

---| iThink therefore iMac |----------+
 patrick gibson (patrick @ gibson.org)
 url: http://patrickgibson.com/
======================| got iMac? |===+

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

From: Josh Folcik <[EMAIL PROTECTED]>
Subject: Re: modem lock - more info
Date: 9 Mar 1999 22:31:37 GMT

well, what do ya know, i'm having a similar problem with MY modem, 
(archtek smartlink 2834A (that's 28.8)) it wont reconnect after it has 
improperly been disconnected (like a bad dialin, or if someone picks up 
the phone and it disconnects, i have to restart the computer to get it to 
work again.  I upgraded my RH 5.0 dialing stuff (ppp and usernet packages) 
to the 5.2 version.  and it still does that.  Does anyone know how to fix 
it?  when it goes to reconnect, the lights go on, (rts, and tr) but not 
the OH light that signals it's dialing.  maybe it thinks it's still 
connected through the phone line?
icq: 986358
Henry wrote:
> I have a similar problem but with a Diamond SupraExpress.  Every once in
> a while the dialing will timeout and then there is no more talking to
> the modem until the machine is powered off and on.  
> 
> I don't know if this is related or just similar.  I was assuming that
> the modem firmware/hardware was in a "stuck" state (i.e. a bug in the
> modem) and therefore I had no hope of getting its attention again,
> without a power cycle.
> 
> Henry
> 
> jack wallen wrote:
> > 
> > okay, i realized that in my original post it was lacking a lot of
> > information so here goes:
> > 
> > i'm running red hat 5.2.  i use afterstep and i'm having problems 
with,
> > every so often, my modem will lock.  it happens on disconnect and
> > there's no way i've found (other than powering down the machine) to
> > break the lock.


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