Linux-Networking Digest #325, Volume #11 Sat, 29 May 99 04:14:13 EDT
Contents:
Re: LCP: timeout sending Config-Requests PPP FAILURE! Follow-up (Brandon Edens)
Re: could I use another kernel? (John Hovell)
Re: Booting Diskless Client - Linux 2.2.6 ("Christopher R. Thompson")
Minicom Help Requested (Arthur)
Re: Samba PLEASE POST YOUR smb.conf!! ("Maguai")
Re: 3c509b Conspiracy theory! (root)
Re: Modem and Answering Machine (Bill Unruh)
Re: Linux as alternative to Ghost/DriveImage? dd? ("Christopher R. Thompson")
Re: RedHat 6.0 & ipmasqadm (Francois Magnan)
Re: Samba passwords - I need help! ("Maguai")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Brandon Edens)
Subject: Re: LCP: timeout sending Config-Requests PPP FAILURE! Follow-up
Reply-To: [EMAIL PROTECTED]
Date: Sat, 29 May 1999 04:47:26 GMT
Allright, I think this is going to be basically the last step of my
journey. I've got a pulse now but the problem is that my connection
seems to be dropping rcvd packets.
I've altered my options file heavily and here is a current copy:
/dev/modem
noipdefault
crtscts
defaultroute
lock
debug
kdebug 7
#noaccomp
#nopcomp
#passive
lcp-max-configure 25
#lcp-max-failure 15
#lcp-max-terminate 15
#lcp-restart 6
#lcp-echo-interval 1
maxconnect 200
mtu 552
mru 552
I've been constantly altering the values and commenting in an attempt
to get a working connection.
I've removed the pppd/chat command and added in an automated dialer
that brings me directly to the ppp session. Here is a log from the
most successful pppd connection I have gotten yet:
May 28 16:05:52 Zeos pppd[871]: pppd 2.3.7 started by root, uid 0
May 28 16:05:52 Zeos pppd[871]: Removed stale lock on modem (pid 866)
May 28 16:05:52 Zeos pppd[871]: Using interface ppp0
May 28 16:05:52 Zeos pppd[871]: Connect: ppp0 <--> /dev/modem
May 28 16:05:52 Zeos pppd[871]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0xe3985723> <pcomp> <accomp>]
May 28 16:06:04 Zeos last message repeated 4 times
May 28 16:06:06 Zeos pppd[871]: rcvd [LCP ConfAck id=0x1 <asyncmap
0x0> <magic 0xe3985723> <pcomp> <accomp>]
May 28 16:06:07 Zeos pppd[871]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0xe3985723> <pcomp> <accomp>]
May 28 16:06:19 Zeos last message repeated 4 times
May 28 16:06:21 Zeos pppd[871]: rcvd [LCP ConfAck id=0x1 <asyncmap
0x0> <magic 0xe3985723> <pcomp> <accomp>]
May 28 16:06:22 Zeos pppd[871]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0xe3985723> <pcomp> <accomp>]
May 28 16:06:25 Zeos pppd[871]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0xe3985723> <pcomp> <accomp>]
May 28 16:06:25 Zeos pppd[871]: rcvd [LCP ConfReq id=0x17 <asyncmap
0x0> <pcomp> <accomp> < 11 04 05 dc> < 13 09 03 00 c0 7b 82 13 a5>]
May 28 16:06:25 Zeos pppd[871]: sent [LCP ConfRej id=0x17 < 11 04 05
dc> < 13 09 03 00 c0 7b 82 13 a5>]
May 28 16:06:28 Zeos pppd[871]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0xe3985723> <pcomp> <accomp>]
May 28 16:06:34 Zeos last message repeated 2 times
May 28 16:06:37 Zeos pppd[871]: Hangup (SIGHUP)
May 28 16:06:37 Zeos pppd[871]: Modem hangup
May 28 16:06:37 Zeos pppd[871]: Connection terminated.
May 28 16:06:37 Zeos pppd[871]: Connect time 0.8 minutes.
May 28 16:06:38 Zeos pppd[871]: Exit.
I've been constantly tweaking lcp-max-configure in an attempt to get
further into the ConfReq. Judging from the time stamps of most
sessions, it would seem that I'm losing a ton of rcvd LCP packets
(modem init strings?). If anyone could help me somehow clear up the
link I think I'll be in business.
Thanks,
Natan (Brandon Edens [EMAIL PROTECTED])
------------------------------
From: John Hovell <[EMAIL PROTECTED]>
Subject: Re: could I use another kernel?
Date: Sat, 29 May 1999 07:20:47 GMT
John --
John Hornblow wrote:
>
> hi, Ive had no luck [yet!] compiling a kernel that enables
> Masquerading...
>
> Could I use one from someone else?
> If someone emailed me one would it work on my redhat 6.0 machine?
>
hmm... not sure this is such a good idea... a compiled kernel image is
custom built to the particular system -- meaning it should include all
regularly used hardware, and as little else as practical. In theory,
you could get a kernel that would work, but it wouldn't be what you want
to do.
However, setting up IP masquerading is very straightforward, and will
work with a stock RedHat 6.0 install very easily.
You need to read the IP Masquerade Mini HOWTO:
http://metalab.unc.edu/linux/HOWTO/mini/IP-Masquerade.html
Basically, use "make menuconfig" from /usr/src/linux/ and be sure to
compile the dozen or so things they say you should have:
http://metalab.unc.edu/linux/HOWTO/mini/IP-Masquerade-3.html#ss3.1
do make bzImage ; make modules ; make modules_install
Reboot w/ new kernel in place, then execute some ipchains commands
(covered in the HOWTO).
That's all there is to it.
-John
>
> thanks
>
> John
>
> =====================================================
> John Hornblow
> gliding page http://www.soar.co.nz/
> =====================================================
------------------------------
From: "Christopher R. Thompson" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: Booting Diskless Client - Linux 2.2.6
Date: Fri, 28 May 1999 23:26:45 -0700
Hey... are you guys able to boot more than one client simultaneously?
------------------------------
From: [EMAIL PROTECTED] (Arthur)
Subject: Minicom Help Requested
Date: 29 May 1999 06:50:31 GMT
Reply-To: [EMAIL PROTECTED]
I am running Redhat 6.0 and am having some problems connecting to my ISP
thru Minicom.
I'm new to this so I'm not sure what it all means, but /dev/modem is a
symlink to /dev/ttyS1 and shows owner root group root and permissions
rwx rwx rwx. /dev/ttyS1 shows owner root group tty and permissions
rw- rw- and ---.
For what it's worth, I am able to establish a ppp connection to my ISP
using either the Usernet utility or from the command line. If anyone
could point me in the right direction on how to establish one using
Minicom, I'd appreciate it.
Thanks
------------------------------
From: "Maguai" <[EMAIL PROTECTED]>
Crossposted-To: linux.samba
Subject: Re: Samba PLEASE POST YOUR smb.conf!!
Date: Sat, 29 May 1999 04:54:10 GMT
Check this site
http://home.talkcity.com/MigrationPath/maguai/
Matt Goebel <[EMAIL PROTECTED]> wrote in message
news:7iilt5$k2i$[EMAIL PROTECTED]...
> I'm really tired of hunting for answers on how to setup samba, nothing
> works. I'm running Redhat 6 and the version of samba that comes with it.
> I'm trying to connect a Linux box to win98 machines only. All I really
need
> is to be able to see/write/read/erase to my Linux hard drive. The linux
box
> is also acting as a gateway to the internet (with IP masq) and I'm using
my
> ISP's DNS servers on all the machines. What exactly do I need to setup in
> Windows? NT Domain-just put the IP in there 192.168.1.1? User access -
IP
> in there too? How do I setup the samba server and add users? A copy of
> peoples smb.conf would help a lot (If you aren't using NT) Thanks
>
>
------------------------------
From: root <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: 3c509b Conspiracy theory!
Date: Sat, 29 May 1999 00:52:11 -0400
Cameron wrote:
>
> In article <[EMAIL PROTECTED]>, root wrote:
> > My 3c509b (eth0) stopped working when I upgraded to 2.2.9. When I
> >recompile it as a module, and run insmod 3c509.o, I get a warning:
> >
> >init_module: Device or resource busy
> >
< Snip >
>
> Was this on a dual-boot machine by any chance?
Yup. Win95 and SuSE Linux.
>
> A buddy of mine at 3com called me a few days ago, his 3C509B had
> suddenly stopped working, in Linux, after he moved to a new office.
> Still worked fine in Win-95.
>
This is exactly what is happening in my case. I am able to network with
the other Win95 box, so I know the hardware is working.
> In the new office, he'd had to boot his Win-95 for something,
> and some netware thing on the network was different and
> Microsoft Windows 95 Hardware Wizard had popped up and fixed it.
>
Didn't notice it, but it might have happened while I wasn't watching.
F***ing Microsoft!!!
> Turns out while Microsoft Windows 95 Hardware Wizard was fooling with
> the IPX stuff, it also changed the interrupt setting on his 3C509B.
> (He had NOT changed any hardware settings or configuration,
> nor added nor removed anything, nor changed Linux.)
This is one major reason why I don't want to do windows anymore. Even if
Linux is a pain in the a** to learn, at least I am master of my machine. I
want to know what my interrupts are, and don't want any "Wizard" playing
with my hardware or installing stuff without my knowledge or permission.
> I had him run the diag/config program
> (it's on the disk you get with the card if you buy it from a
> dealer who's honoring his contracts...) and find out to where
> the interrupt had moved.
The card came installed with the machine. Does 3com have this
configuration program on their website? BTW, from all the stuff I have been
hearing about 3 com and (especially) the 3c509 in this NG, 3com should start
supporting their stuff under Linux or risk loosing a lot of business.
>
> I gotta wonder how much of this shit is intentional. Does
> Microsoft monkeywrench the other OS on a dual boot system
> by *accident*?
>
Well, given that you cannot access MS software patches from their website
using netscape, (you must use MS-IE for this) I would put absolutely nothing
past them. I am not a firm beliver in conspiracy theories, but given the
stuff that has come out of the DOJ trial in the U.S. there is very little
that I now belive M$ will not do.
> Cameron
> (not a 3Com employee any more)
Well, thanks anyway for responding to my posting. I very much appreciate
the insight, and will be a major eye opener if this is in fact happening.
It certainly seems to be plausable. I haven't got my eth0 working again
yet, since I have had bigger fish to fry for the last few days. Now that my
KDE upgrade and diald seems to be up and running properly, I will look at
eth0 again. I wish there was a way to stop windows from screwing with my
hardware settings.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Modem and Answering Machine
Date: 29 May 1999 04:46:38 GMT
In <5iG33.2410$[EMAIL PROTECTED]> "Thom Caldwell"
<[EMAIL PROTECTED]> writes:
>Is it possible to set up a standard modem to just monitor the phone line for
>a data connection, letting an answer machine pick up the line, then cutting
>it off if a data connection is present? I want to be able to dial into my
>linux machine without dedicating a phone line to it.
mgetty (the recommended getty to use for such purposes) has a really
neat feature (which the writer of mgetty does not like-- get another
phone line he says) in which you can ask mgetty to not answer the phone
on thefirst set of rings. You dial in, hang up, and then dial in again
in a window between 20-45 sec after the first hangup, and now the mgetty
will answer the phone. The first time you can let it just ring once so
your answering machine does not answer and the second time you can have
mgetty answer on the firstor second ring, so again your answering
machine stays off the line. It works really well The only time you would
be in trouble if the same person phoned you twice in a row withing that
time window.
Note that if you have CallerID on your phone line ( and your modem
suports it) then that second call must also come from the same phone
number as te first for mgetty to answer the phone. (again stops problems
with two diffeent people phoning you within 40 seconds of each other.)
(It is called
ringback on
)
I have it set up so that during the day the ringback is on and at night
it is off, so that mgetty answers on teh first set of rings.
------------------------------
From: "Christopher R. Thompson" <[EMAIL PROTECTED]>
Subject: Re: Linux as alternative to Ghost/DriveImage? dd?
Date: Sat, 29 May 1999 00:21:15 -0700
This is a multi-part message in MIME format.
==============930178A6C1735A8F6EBE41BC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sean O'Connor wrote:
>
> Hello,
> Q: Can I use linux to create/copy(/install) a Win95/98/NTwks image over
> the network?
>
What are you really trying to do?
I use tar and bzip2.
cpio might come in handy for the device files.
Linux-Linux likes NFS and Linux-Windoze likes SAMBA.
Of course just about anything is possible if you know what you want to
do.
I don't think that windoze is going to know anything about e2fs unless
your thinking to run linux on vfat. So guess that means you will need
linux up to restore the linux partition. There are a couple of
attachments at the bottom of this message showing dual boot
configurations I like to use here. You Don't even need a linux partion
if you don't want it.
> I have a school lab of 15 pentiums. I have convinced the admin to allow
> dual boot between win95 & Linux (redhat 6.0). At the moment we are planning
> to use Ghost to slam down identical configs on all the machines. This will
> be done as need, but probably twice a month on each machine.
>
> I see the "dd" command and think there must be some way to grab and
> compress a vfat partition or file structure, and send it to a server. Then,
> assuming the linux partitions are safe and stable, when Windows needs a
> reinstall, use linux to download the image, expand it and setup any boot
> issues.
>
> I have looked for 30 minutes on dejanews, but can't seem to even get
> any good keywords ("linux (win95 or win98) dd" or "linux drive image
> win95"...).
>
> Any suggestions for search words or man pages would be appreciated.
> TIA
>
> SoC
==============930178A6C1735A8F6EBE41BC
Content-Type: text/plain; charset=us-ascii; name="config.sys"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="config.sys"
DEVICEHIGH/L:0=C:\WIN95\COMMAND\DRVSPACE.SYS /MOVE
[menu]
menuitem=Win95, Boot to Windows 95
menuitem=Linux, Boot to Linux Pro original kernel
menuitem=Linux2, Boot to Linux Pro 2.0.33.5
menuitem=LinuxNew, Boot to Linux 2.1.132
menucolor=15,1
menudefault=Linux2,5
[Linux2]
shell=c:\loadlin.exe c:\ipzImage.5 mem=48416K ip=off root=/dev/hdb1 ro hdb=noprobe
hdb=23059,16,63 ether=9,0x220,3,0x300,eth1
[LinuxNew]
shell=c:\loadlin.exe c:\zImage mem=48416K ip=off root=/dev/hdb1 ro hdb=noprobe
hdb=23059,16,63 ether=9,0x220,3,0x300,eth1
[linux]
shell=c:\loadlin.exe c:\vmlinuz mem=48416K root=/dev/hdb1 ro hdb=noprobe
hdb=23059,16,63 ether=9,0x220,3,0x300,eth1
[Win95]
==============930178A6C1735A8F6EBE41BC
Content-Type: text/plain; charset=us-ascii; name="boot.ini"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="boot.ini"
[boot loader]
timeout=5
default=C:\
[operating systems]
C:\="Microsoft Windows"
multi(0)disk(0)rdisk(0)partition(4)\WINNT35="Windows NT Server Version 3.51"
multi(0)disk(0)rdisk(0)partition(4)\WINNT35="Windows NT Server Version 3.51 [VGA
mode]" /basevideo /sos
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows NT Workstation Version 4.00"
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows NT Workstation Version 4.00 [VGA
mode]" /basevideo /sos
==============930178A6C1735A8F6EBE41BC
Content-Type: text/plain; charset=us-ascii; name="config.sys"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="config.sys"
devicehigh=c:\movepci.sys
[menu]
menuitem=Linux,Linux-Pro 5.4
menuitem=Win95,Windows '95
menucolor=15,1
menudefault=Linux,5
[Linux]
shell=c:\loadlin.exe c:\ipzimage.9 mem=16384k root=/dev/nfsroot ether=0,-1,eth0 init 2
[Win95]
==============930178A6C1735A8F6EBE41BC==
------------------------------
Subject: Re: RedHat 6.0 & ipmasqadm
From: [EMAIL PROTECTED] (Francois Magnan)
Date: Sat, 29 May 1999 03:18:10 GMT
On 05/28/99, "Greg Bastian" wrote:
>
>Have I blocked off something ?
>
>The only masquerading and port forwarding commands are :
>ipchains -I forward -p tcp -s 192.168.0.0/24 -j MASQ
>ipmasqadm portfw -a -P tcp -L 203.11.21.8 80 -R 192.168.0.5 80
>
I am not an expert but you need more ipchains commands.
I don't really know what are the default settings for all the things
you did not set (policies for the chains as an example). Your rules
should follow a logical plan. You will be inspired by the following:
=========== cut here ==============
/sbin/modprobe ip_masq_ftp
# Supports the masquerading of RealAudio over UDP. Without this
module,
# RealAudio WILL function but in TCP mode. This can cause a
reduction
# in sound quality
#
/sbin/modprobe ip_masq_raudio
# Supports the masquerading of IRC DCC file transfers
#
/sbin/modprobe ip_masq_irc
#
# setup IP packet Accounting and Forwarding
#
# Flush all commands
ipchains -F
# this enables the packet conversion/routing
ipchains -A forward -j MASQ -s 192.42.172.0/24 -d 0.0.0.0/0
#Aggrandit les timeouts
ipchains -M -S 7200 10 60
#this will block netbios
ipchains -A input -j DENY -p tcp -s 0.0.0.0/0 137:139 -d 0.0.0.0/0
ipchains -A input -j DENY -p udp -s 0.0.0.0/0 137:139 -d 0.0.0.0/0
#MINIMISE LE DELAI POUR HTTP ET TELNET
ipchains -A output -p TCP -d 0.0.0.0 80 -t 0x01 0x10
ipchains -A output -p TCP -d 0.0.0.0 telnet -t 0x01 0x10
#Redirige tout les trafic de X pour platon (display 0)
/usr/sbin/ipmasqadm portfw -a -P tcp -L 207.61.102.239 80 -R
192.42.172.2 80
==========
where 192.42.172.0 is the local subnet
and 207.61.102.239 was my ip address.
Francois
--
______________________________________________________
Francois Magnan
Departement de Mathematique & Statistiques
Universite de Montreal
email: [EMAIL PROTECTED] (MIME, NeXTMail Ok!)
------------------------------
From: "Maguai" <[EMAIL PROTECTED]>
Subject: Re: Samba passwords - I need help!
Date: Sat, 29 May 1999 04:54:10 GMT
Check this site
http://home.talkcity.com/MigrationPath/maguai/
Mike Dion <[EMAIL PROTECTED]> wrote in message
news:7iefnt$8o5$[EMAIL PROTECTED]...
> I can't get passwords to work with Samba. I'm connecting from a WIN95
> client and can only see the shared services when my SMB password is set to
> "NO PASSWORD". After scanning numerous Linux discussion groups and reading
> the documentation found in /usr/doc/samba-n.n on my server, I'm still
> stumped!
>
> As documented, I created my smbpasswd file by:
> cat /etc/passwd | mksmbpasswd.sh > /usr/local/samba/private/smbpasswd
>
> The permissions on the parent directory and password file were set as
> recommended in my Samba documentation. The smbpasswd file must be visible
> as the NO PASSWORD setup does work!
>
> In smb.conf, I have set these variables related to security and passwords:
>
> # begin of smb.conf settings
> security = user
> password level = 8 # In the event that case is an issue
> username level = 8 # Same as above
> encrypt passwords = yes
> smb passwd file = /usr/local/samba/private/smbpasswd
> username map = /etc/smbusers # WIN95 usernames mapped to Linux usernames
> domain logons = yes
> # end of smb.conf settings
>
>
> Am I missing something regarding password encryption and case? I'm
running
> RedHat Linux V5.2 and Samba v1.9.18p10.
>
> Your help would be greatly appreciated.
>
>
>
> ------------------ 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
******************************