Linux-Networking Digest #226, Volume #12 Sat, 14 Aug 99 21:13:37 EDT
Contents:
Pump, hostname/IP association
Re: Samba & Win 9x clients: automatically mapping drives (Matt Anderson)
I can't believe I've forgotten.... (Matt Anderson)
Re: RedHat 6.0 Desktop (Matt Anderson)
Re: pppd -demand. Is it better than running diald? ("Andrew Taylor")
Re: Send an AT command to modem (David Akins)
Re: Send an AT command to modem (David Akins)
Re: Proxy Serving across Cable Modem (intellectronix)
Linking DHCP/non-DHCP computers on same network (David Lineberger)
Diskless workstation using ethernet boot ROM ("J. Michael Brown")
Re: Automatically dial the internet from my firewall/router? ("Andrew Taylor")
Connecting Linux to a Mac network ("Rik Osborne")
Re: Strange Ethernet Problem (James Knott)
Re: SCO 3.2 tape restore on linux (J Bade)
Re: Send an AT command to modem (Clifford Kite)
Samba doesn't work!!! (Jack Zhu)
----------------------------------------------------------------------------
From: <[EMAIL PROTECTED]>
Crossposted-To: redhat.networking.general,redhat.general
Subject: Pump, hostname/IP association
Date: Sat, 14 Aug 1999 21:30:50 GMT
I'm currently running rh 6.0 and using pump. Pump is working properly, it
talks to my DHCP server and I am assigned an IP address. I can
send/receive email and use the internet. However, how do I associate my
computer name (hostname) with my IP address. Normally this would be done
through the hosts file but since the IP address is constantly changing,
that is not possible.
This problem manifest itself by programs such as Samba or VmWare not being
able to see my IP address.
Any ideas are appreciated. Thank you!
Chris
================== Posted via CNET Linux Help ==================
http://www.searchlinux.com
------------------------------
Crossposted-To: comp.os.linux.misc
From: Matt Anderson <[EMAIL PROTECTED]>
Subject: Re: Samba & Win 9x clients: automatically mapping drives
Date: Sat, 14 Aug 1999 15:29:24 -0700
If you at all familiar with scripting under linux, or batch files under
windoze, then you could create a re-map drives batch or script that gives
all the relevent commands. You could even set it up as a shortcut on the
windoze desktop.
Good Luck!
Matt Anderson
[EMAIL PROTECTED]
"You shall know the truth, and the truth shall set you free."
John 8:32
On Thu, 13 May 1999, Michael Balderas wrote:
> On Thu, 13 May 1999 21:55:53 GMT, [EMAIL PROTECTED] (Lee
> Allen) wrote:
>
> >Under Samba, I (think) I have to "map a network drive" on the Win 9x
> >client via point & click. If the client ever boots when the server is
> >down (or not available), then the client will display a prompt, "Do
> >you want to reconnect the next time you log in?" If the user says
> >"No", the mapping is gone, and must be recreated manually.
> >
>
> This is the short coming of Windows 9X in any peer-peer network
> enviroment using Microsoft's file and print sharing to map shared
> resources on remote clients, this is not just related to Samba.
>
> >How can we avoid this problem? Is there some script capability in Win
> >9x that remap the drives for us?
> >
>
> Short of telling the users to hit yes, I am not aware of any way
> around this issue. I get calls from clients all the time who hit "no"
> on the "connect next time" prompt instead of yes. To this day the only
> resolution I have found is to walk them thru connecting to the share
> or fixing it next I was on site. If anyone does have a scripting tool
> that will eliminate this issue I'd be interested in knowing as well.
>
> Mike
>
>
>
------------------------------
From: Matt Anderson <[EMAIL PROTECTED]>
Subject: I can't believe I've forgotten....
Date: Sat, 14 Aug 1999 15:35:25 -0700
But, I took linux off my box for a while to play with the BE os. (Very
cool by the way, but not as mature as linux yet)
Anyway, I have a windows 98 machine in my home network and I have the
stupid encrypted password thing messing up my Samba shares.
In the past, I turned off encrypted passwords in the 98 box. I'd rather
enable encyption on the Samba/Linux side. However, I don't remember how
to do the first, and I'm not sure where to start on the second.
Any help would really be appreciated!
Matt Anderson
[EMAIL PROTECTED]
"You shall know the truth, and the truth shall set you free."
John 8:32
------------------------------
From: Matt Anderson <[EMAIL PROTECTED]>
Subject: Re: RedHat 6.0 Desktop
Date: Sat, 14 Aug 1999 15:46:16 -0700
I really liked the Gnome/Enlightenment desktop but found it to be less
than stable. Netscape, for example, would frequently just disappear!
I switched back to the KDE desktop and have not had near as many core
dumps or mysterious disappearing apps.
When I have time (Ha!) I'm going to try and figure out what is wrong with
the Gnome setup.
Matt Anderson
[EMAIL PROTECTED]
"You shall know the truth, and the truth shall set you free."
John 8:32
On 14 May 1999, L.P. Duong wrote:
> Just a question for all you RH 6.0 users out there...how stable had your
> Desktop been (kde or enlightened/gnome) ? I'd like to know because my set up
> keep crashing and required relogin and removing the cores files pretty often,
> at least once a day...especially if i am adjusting system configurations with
> linuxconf or control-panel or a few other programs....Is it my set ups
> that i should look into or put it off to buggy-ness. Thanx.
>
>
------------------------------
From: "Andrew Taylor" <[EMAIL PROTECTED]>
Subject: Re: pppd -demand. Is it better than running diald?
Date: Sat, 14 Aug 1999 23:44:10 +0100
I spent days trying with no success to get diald to work, the latest pppd
with demand dialling took about 30 seconds to set up and works
fantastically. It's only ever dialled up once when I didn't want it to and
that was a dns problem. Try it, you might like it.
Andy
------------------------------
From: [EMAIL PROTECTED] (David Akins)
Subject: Re: Send an AT command to modem
Date: Sat, 14 Aug 1999 22:57:26 GMT
Thanks for the reply...
Have you actually tried that? I had already tried that before I
posted the message and could not get it to work.
My modem is a USR Sportster v.90 PnP on COM2. I use ISAPNP to
configure it.
I have created a link for the modem device...
ln -s /dev/ttyS01 /dev/modem
Now I can do page just fine with minicom, so I know everything is
setup properly. (Plus my modem dials up a PPP connection and does
ipmasq for my network, so it's all working OK hardware-wise)
I type:
echo "atdt1234567"\n > /dev/modem
and it just returns to the command prompt. I also tried the cat
command with no luck.
On Fri, 13 Aug 1999 04:43:19 GMT, "Aldog" <[EMAIL PROTECTED]> wrote:
>Hi Dave,
>On RedHat 5.2, I can think of two simple ways to do this. They both rely on
>the fact that my modem is treated as a file device. On my system, the modem
>is /dev/modem which is a symbolic link to cua3. This naming convention
>may be different for you if you are running RH6.0 or some other
>distribution.
>
>
>(1) 'cat' a file with the atdt string to the /dev/modem device.
>
>I create a file called atdt.dat with 1 line containing my at command
>string.
>
>Then just issue: cat atdt.dat > /dev/modem
>
>(2) 'echo' the string directly to the /dev/modem device.
>
> echo "ATDT123-4567,,,,,911#"\n > /dev/modem
>
>(Note: the modem needs a carriage return to terminate the AT command. The
>'cat' command does this automatically, the echo command needs the \n ...)
>
>Al
>
>
>
>
>David Akins wrote in message <[EMAIL PROTECTED]>...
>>How do I send an ATDT command to the modem from the command line?
>>
>>Al I want to do is write a script to page me when certain things
>>happen. I've tried chat, but it seems like chat only works when
>>called from another program. It seems like this should work:
>>
>>chat '' ATDT123-4567,,,,911#
>>
>>but nothing happoens.
>>
>>Minicom will work as long as you run it from a logged-in shell. I
>>guess minicom tried to do screen writes that get messed up when run
>>froma scheuler in thebackground.
>>
>>Anybody know what I can do? Please be specific.
>
>
------------------------------
From: [EMAIL PROTECTED] (David Akins)
Subject: Re: Send an AT command to modem
Date: Sat, 14 Aug 1999 22:57:28 GMT
Have you tried this? It doesn't work on mine.
On 14 Aug 1999 16:12:18 -0500, kite@NoSpam.%inetport.com (Clifford
Kite) wrote:
>David Akins ([EMAIL PROTECTED]) wrote:
>
>: How do I send an ATDT command to the modem from the command line?
>
>: Al I want to do is write a script to page me when certain things
>: happen. I've tried chat, but it seems like chat only works when
>: called from another program. It seems like this should work:
>
>: chat '' ATDT123-4567,,,,911#
>
>: but nothing happoens.
>
>How do you expect chat to know about the modem? This will work
>
>chat '' ATZ OK 'ATDTsomenumber;' OK '\d\d' < /dev/modem > /dev/modem
>
>with /dev/modem a link to the modem ttySx (or use the ttySx directly)
>x=whatever for your modem and the right permissions for /dev/ttySx.
>It provides a two second delay before it terminates after dialing.
>Use "man chat" to verify the delay. You can very likely drop the ATZ OK,
>it's an old habit of mine.
>
>--
>Clifford Kite <kite@inet%port.com> Not a guru. (tm)
>/* The wealth of a nation is created by the productive labor of its
> * citizens. */
------------------------------
From: intellectronix <[EMAIL PROTECTED]>
Crossposted-To: redhat.networking.general
Subject: Re: Proxy Serving across Cable Modem
Date: Sat, 14 Aug 1999 19:01:57 +0100
Reply-To: [EMAIL PROTECTED]
John,
JProxyma ( http://www.intellectronix.com/jpro/ ) is probably
the solution you need. Using its Mapped Link feature
you can create application specific proxies for practically any
network game. You may be better off using a proxy server because
of the improved performance that comes with caching. Our proxy
server has the security features that you are looking for.
In addition to many other cool features JProxyma is one of the first
thrid-party Java applications that support Sun's JINI technology.
Hope this helps.
=========
John Lindemuth wrote:
> I am looking to connect my home network to the internet through a TCI
>
> cablemodem. I have found documentation on how to connect the cable modem
>
> to the linux box and how to connect two network cards so that the linux
>
> box can serve the internet to my home Network. My questions is what type
>
> of connection should I use IP Masquerading, or proxy server with
>
> firewall. I would like to have the security of firewall since I have
>
> heard bad things about the security of cable modems in general. The major
>
> concern is that My roomate and I need to connect to the net at the same
>
> time. Also we are online gamers and need a connection that will support
>
> games like Everquest, Ultima Online, etc. for play over the internet. I
>
> am using the Red Hat Distribution 5.1. If anyone has done a similar setup
>
> I would like some giudance on which direction I should go.
>
> Thanks in advance,
>
> John
>
> ------------------ Posted via CNET Linux Help ------------------
> http://www.searchlinux.com
------------------------------
From: [EMAIL PROTECTED] (David Lineberger)
Subject: Linking DHCP/non-DHCP computers on same network
Date: Sat, 14 Aug 1999 22:59:25 GMT
Here at our apartment we have 3 Win95 computers on a hub connected to
a cable modem. They each get IP addresses dynamically via DHCP. I
would like to add a Linux box to our little network, and I would like
for it to be able to talk with the Win95 machines (via FTP, or
whatever). However, I don't want it to get a dynamic IP address
through the cable modem, I just want it to have a non-Internet static
IP like 192.168.10.1.
I set up the linux computer with that address but wasn't able to ping
the other computers on the hub, or have the other computers ping the
Linux box. Is there any way these computers can communicate with each
other? Has anybody ever tried something like this and had it work? Any
advice would be greatly appreciated.
David Lineberger
------------------------------
From: "J. Michael Brown" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Diskless workstation using ethernet boot ROM
Date: Sun, 15 Aug 1999 09:10:00 +1000
Hi
I have an old P75 which I want to set up to work purely as a workstation (an
X-Windows terminal would be great). I am wondering if it would be possible
(and I am assuming that it would) to add a boot ROM chip to the ethernet
adapter (NE2000 compatible) and run this term diskless, using some king of
X-Server program to run the X-Windows session. For that I would probably
use the grunty Alpha I am awaiting delivery on.
Does this sound feasable? Is there anyone out there who has already done
this and could point me in the direction of the correct man pages/HOWTOs?
Could anyone reccomend the specs of the boot ROM that I have to buy?
Thanks alot
Stephen Graham
------------------------------
From: "Andrew Taylor" <[EMAIL PROTECTED]>
Subject: Re: Automatically dial the internet from my firewall/router?
Date: Sat, 14 Aug 1999 23:42:52 +0100
Diald is effective but the latest version of pppd supports demand dialing
with just a few lines in the /etc/ppp/options file. Install the latest pppd
package and read the pppd manual it explains it all.
Andy
------------------------------
From: "Rik Osborne" <[EMAIL PROTECTED]>
Subject: Connecting Linux to a Mac network
Date: Sat, 14 Aug 1999 16:16:25 -0700
I access the Internet from behind a firewall on a Macintosh-based network.
The server is a Macintosh running Vicom Internet Gateway. Most of the
machines connected to the network are Macs; there are also a few Windows PCs
on the network. We recently switched from an ISDN connection to ADSL. We
also use DHCP for assigning IPs.
My primary computer is a Macintosh. I also have a PC with an AMD K6/200
processor. A few weeks ago, I abolished Windows98 from the PC, replacing it
with RedHat Linux 5.2. I've never had any trouble connecting to our LAN or
the Internet when using Mac OS or Windows. However, when it comes to
connecting with Linux I am absolutely baffled!
Under Mac OS & Windows, all that was necessary was to specify "Ethernet" as
the network type and "Configure using DHCP" for acquiring an IP address and
getting all the other numbers (subnet mask, DNS, gateway, etc.) However,
Linux seems to want me to enter 17 different addresses in 42 different
locations (okay, so I'm exaggerating). Why can I not find a way to get Linux
to simply gather all this info from the DHCP server?
All of the manuals, FAQ's, How-To's, etc that I've been able to locate
instruct me to enter my machine's IP address (I thought the DHCP server is
supposed to assign this...), enter the subnet mask (I thought the DHCP
server is supposed to assign this...), enter the addresses of the
nameservers (I thought the DHCP... well, you get my point.)
I know the hardware works, because it's the same hardware I used with
Windows98. Under Linux, I can successfully ping my loopback address
(127.0.0.1). But I can't ping anything else. So apparently, I'm missing
something important here. I've configured everything as best I can using
netcfg, but my Linux box still can't even find our gateway/server.
Does anyone know of a helpful tutorial that is written for people coming
from a Macintosh/Windows98 background? I'm just a user, not a programmer,
and I'm afraid that I'm too accustomed to being able to tell my Mac "Do
this" and it just does it. I really want to broaden my horizons and learn
something new, and I feel that learning Linux/Unix can also help me get into
a new career. Until I can connect my Linux box to the Internet, I can't get
any new software onto it, and frankly, I'm getting tired of playing
minesweeper and mahjonng ;-)
For what it's worth, I've set up a regular user account for myself because I
know better than to run around as root all the time; I did manage to
successfully install and configure KDE, and I can find the appropriate
networking tools from within KDE. I'm just not understanding what I'm
supposed to _do_ with these tools...
--
Rik Osborne
Phase 42 Productions
E-mail: <[EMAIL PROTECTED]>
Web: <http://members.xoom.com/phase42>
------------------------------
From: [EMAIL PROTECTED] (James Knott)
Subject: Re: Strange Ethernet Problem
Date: Sat, 14 Aug 1999 18:01:21 -0400
Reply-To: James Knott <[EMAIL PROTECTED]>
Generally speaking, you're not supposed to use an all "0"s address,
since it's supposed to be the network and you don't use an all "1"s,
which is supposed to be the broadcast address.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Carsten Bauer) wrote:
>Why not?
>I thought thats the way your means to do it.
>According to NET-3-HOWTO thats the right way for LANs
>
>10.0.0.0 - 10.255.255.255
>172.16.0.0 - 172.31.255.255
>192.168.0.0 - 192.168.255.255
>
>
>On Sat, 7 Aug 1999 23:08:44 +0100, "Andrew Taylor"
><[EMAIL PROTECTED]> wrote:
>
>>Could someone clarify for the last time. I always thought that you should
>>never use 192.168.0.x is this just for correctness or might it cause
>>problems?
>>
>>Andy
>>
>>
>
>-----------------------------------------------------------------------
>Remove NOSPAM from email to reply.
>Carsten Bauer
>[EMAIL PROTECTED]
>ICQ: 1141 9465
>------------------------------------------------------------------------
--
E-mail [EMAIL PROTECTED]
_________________________________________________________________________
The above opinions are my own and not those of ISM Corp., a subsidiary of
IBM Canada Ltd.
------------------------------
From: [EMAIL PROTECTED] (J Bade)
Crossposted-To: alt.os.linux,comp.security.firewalls,comp.os.linux.networking
Subject: Re: SCO 3.2 tape restore on linux
Date: Sat, 14 Aug 1999 23:49:14 GMT
Reply-To: [EMAIL PROTECTED]
This is my solution.
Download TAR98 . Tar98 is a WindowsNT program that allows you to write
and read UNIX Tar format archive tapes.
Tar98 also allows you to write and read UNIX Tar format files.
Then restore the data to an NT system.
Install Microsoft Services for Unix and make the information avialable
for both unix and Windows clients.
Cheers
John
On Sat, 14 Aug 1999 15:36:14 GMT, [EMAIL PROTECTED] (Paul
Sherwin) wrote:
On Fri, 13 Aug 1999 10:00:45 GMT, [EMAIL PROTECTED] (J Bade)
wrote:
>Hi,
>
>The Trick I want to transfere data backed up on a DAT tape using SCO
>3.2 (without any networking) and restore the data on Linux or Windows
>NT.
>Amount 350 MB of data.
>
>What is the best approach?
It depends what the tape was written with. Assuming it is tar, you
should be able to put the tape in a DAT drive on your Linux system and
read it with tar. There are often strange incompatabilities between
one DAT drive and another, though - these are nothing to do with
Linux. If the SCO system is running on PC hardware you can probably
take out the DAT drive and SCSI card, transfer it to the Linux system,
load the appropriate SCSI card kernel module, and read the tape. You
can't mount the SCO disks on your Linux system.
>
>Can NT be made to read tapes backed-up with SCO 3.2 and TAR?
>
No, not without commercial third party software.
Best regards and good luck, Paul
Paul Sherwin Consulting 22 Monmouth Road, Oxford OX1 4TD, UK
Phone +44 (0)1865 721438
http://www.telinco.co.uk/psherwin/index.htm
Mobile +44 (0)7931 578334 mailto:[EMAIL PROTECTED]
Pager +44 (0)7666 797228
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: Send an AT command to modem
Date: 14 Aug 1999 18:42:59 -0500
David Akins ([EMAIL PROTECTED]) wrote:
: Have you tried this? It doesn't work on mine.
I tried it. It works.
: On 14 Aug 1999 16:12:18 -0500, kite@NoSpam.%inetport.com (Clifford
: Kite) wrote:
: >David Akins ([EMAIL PROTECTED]) wrote:
: >
: >: How do I send an ATDT command to the modem from the command line?
: >
: >: Al I want to do is write a script to page me when certain things
: >: happen. I've tried chat, but it seems like chat only works when
: >: called from another program. It seems like this should work:
: >
: >: chat '' ATDT123-4567,,,,911#
: >
: >: but nothing happoens.
: >
: >How do you expect chat to know about the modem? This will work
: >
: >chat '' ATZ OK 'ATDTsomenumber;' OK '\d\d' < /dev/modem > /dev/modem
: >
: >with /dev/modem a link to the modem ttySx (or use the ttySx directly)
: >x=whatever for your modem and the right permissions for /dev/ttySx.
: >It provides a two second delay before it terminates after dialing.
: >Use "man chat" to verify the delay. You can very likely drop the ATZ OK,
: >it's an old habit of mine.
: >
: >--
: >Clifford Kite <kite@inet%port.com> Not a guru. (tm)
: >/* The wealth of a nation is created by the productive labor of its
: > * citizens. */
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
------------------------------
From: Jack Zhu <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Samba doesn't work!!!
Date: Sun, 15 Aug 1999 00:16:31 +0000
Linux workstation: RH 5.0, kernel 2.2.1, Samba 2.0.4b, machine name is
'linux', IP address is '192.168.0.1'
Win98 workstation, machine name is 'win98', IP address is '192.168.0.2'
Install and config Samba in Linux workstation are smooth, and using
'smbclient -L linux' to test in the LInux workstation side is OK. But
it prompt to input a password, when I just hit enter, it displays
correct information.
The 'lmhosts' file in c:\windows of win98 machine contains one line:
192.168.0.1 linux
But when I try to test on the win98 side, I issue: 'net view \\linux',
the error message is:
"Error 86: the specified network password is not correct. TYpe the
correct password, or contact your network administrator for more
information."
The username and password used to log on win98 machine are one existing
account in my Linux machine. The other network functions work well, such
as: 'ping', 'IP masquerading', 'telnet', 'ftp', etc
Any idea or suggestions can help me out? Thanks!!!!
PLease also email me.
------------------------------
** 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
******************************