Linux-Networking Digest #290, Volume #10 Tue, 23 Feb 99 18:13:43 EST
Contents:
Re: Help, I'm at my wits end over PPP (geoff)
Re: how do I turn on IP fwding.. ("Ger Donners")
Re: SAMBA in NT domain ("Gary Maltzen")
Is MSN dialup linux friendly? (Henry Lu)
Re: Machine name themes - what do you use? (Chris King)
Re: Machine name themes - what do you use? ("Teri Lyn Smith")
Re: Firewall blocks squid ("Jens-U. Mozdzen")
Re: ppp/routing problem ("Ger Donners")
testparm hangs ("Michel A. Lim")
Re: HELP! Peer to Peer Win98/Linux ([EMAIL PROTECTED])
IP Forwarding with Suse 5.2 and Startup Scripts ("David Travers")
----------------------------------------------------------------------------
Crossposted-To: comp.os.linux.setup,alt.os.linux.caldera
From: geoff <[EMAIL PROTECTED]>
Subject: Re: Help, I'm at my wits end over PPP
Date: Tue, 23 Feb 1999 20:31:21 GMT
Sam Greene wrote:
> Sam Greene wrote:
>
> Perhaps this will make it easier.
>
> news:ru.ppp
>
> --
> Sam Greene
> [EMAIL PROTECTED]
> http://www.radford.edu/~slgreene/
Possible solutions:
--You mentioned that you get tons of "crap" in minicom? You know that's
probably the PPP stuff you want to see, with lots of {} signs and stuff
like that.
--When you start pppd, do you use hardware handshaking and set the modem
as the default route so that all IP packets that go from your browser go
to the ppp link and not through any NICs you might have? You should be
able to do this manually: open minicom and dial your isp and do whatever
you have to do to get PPP "crap" showing up (ask your ISP...there are
many different ways PPP servers do this). Then do an Alt-Q, and try to
start pppd with the command:
pppd /dev/modem crtscts defautroute
the crtscts does hardware handshaking which is pretty essential, and the
last command makes sure your IP pakets that are not intended for anyone
on your LAN go to the ISP through your modem. You can also check your
routing table, and should have an entry that shows your ISP as the
gateway, "default" as the destination, 0.0.0.0 as the Genmask (0.0.0.0
is the IP address for "everywhere else"), and ppp0 for the Iface
(Network Interface).
Hope this helps.
-Geoff
------------------------------
From: "Ger Donners" <[EMAIL PROTECTED]>
Subject: Re: how do I turn on IP fwding..
Date: Tue, 23 Feb 1999 22:04:43 +0100
Edit the file /etc/sysconfig/network. Set the forwarding line from no to yes
and restart.
Bill Dossett wrote in message <[EMAIL PROTECTED]>...
>Hi,
>
>I'm using RedHat 5.2 (new to it from slackware) and
>I can't figure out how to turn on IP forwarding.
>I see it being disabled during boot... how can
>I make it not get disabled.
>
>Thanks
>
>Bill
>public key -> http://www.bill.co.uk/pubkey.html
------------------------------
From: "Gary Maltzen" <[EMAIL PROTECTED]>
Subject: Re: SAMBA in NT domain
Date: Tue, 23 Feb 1999 14:43:25 -0600
How about:
man smb.conf
password server = xxx
Sean Brown wrote in message <[EMAIL PROTECTED]>...
|Hello all,
|
|I've got a Linux box set up and participating in a domain whose PDC is
|an NT server. I can see and use the shares, printers, no problem.
|However, I'd like to have the Linux box use the NT PDC to authenticate
|logins to the Linux box. That way my users will only have one
|username/password to remember. Anyone know how?
|
|Thanks,
|
|
|Sean
|[EMAIL PROTECTED]
------------------------------
From: Henry Lu <[EMAIL PROTECTED]>
Subject: Is MSN dialup linux friendly?
Date: 23 Feb 1999 20:39:00 GMT
My local ISP is horrible and I am looking for a new ISP. The
connection speed to Microsoft Network from my local place is good.
Here is the question: Is MSN ppp dialup a good choice for linux
technically? Does MSN use standard PPP protocols ?
Henry
------------------------------
From: Chris King <[EMAIL PROTECTED]>
Crossposted-To:
vmsnet.networks.misc,microsoft.public.windowsnt.domain,comp.unix.solaris,comp.os.os2.networking.server,comp.os.ms-windows.nt.admin.networking,comp.infosystems.www.servers.unix,comp.protocols.tcp-ip.domains
Subject: Re: Machine name themes - what do you use?
Date: Tue, 23 Feb 1999 19:23:19 +0000
In article <[EMAIL PROTECTED]>, Ian Payne
<[EMAIL PROTECTED]> writes
>We used to use the Aurthurian legends, Arthur, Guinevere, Lancelot, Merlin,
>etc.. When we started running out of names we started using the American
>"Camelot", i.e. the Kennedy Administration, Kennedy, Jackie, Marilyn, Warren
>and Ruby.
Every place I've worked at, there has been a machine called Merlin. The
first place used bird names and a VAXcluster called AVIARY. The second
place had different naming schemes for different departments, and Merlin
belonged to another project - our system manager was heavily into
Shakespeare, so nodes were named after characters from his plays -
Oberon, Banquo, Pistol, Scroop and so on. The third place ended up with
Arthur, Merlin, Galahad, Lancelot and Mordred, a border router called
Moat and two ISDN routers called Sword & Stone. My current post has
followed a similar scheme with servers, but with other Welsh characters
- Glyndwr and Madog.
Chris
--
Chris King
[EMAIL PROTECTED]
http://www.csking.demon.co.uk
------------------------------
From: "Teri Lyn Smith" <[EMAIL PROTECTED]>
Crossposted-To:
vmsnet.networks.misc,microsoft.public.windowsnt.domain,comp.unix.solaris,comp.os.os2.networking.server,comp.os.ms-windows.nt.admin.networking,comp.infosystems.www.servers.unix,comp.protocols.tcp-ip.domains
Subject: Re: Machine name themes - what do you use?
Date: Tue, 23 Feb 1999 13:10:08 -0800
This job is a 'bear' so I call my NT Domain KODIAK. Then I use KOALA, PANDA,
TEDDY, POLAR, etc.
Until this Pathworks/NT thing gets better I think these are justified.
teri
Stuart Summerville wrote in message
<[EMAIL PROTECTED]>...
>Hi peoples,
>
>Just curious to know what themes you use for machine names on your
>local networks. I've heard of or used some of the following: animals,
>fruits, alcoholic beverages, artists, movie stars, & musicians. What
>about you? I'm sure there's some birarre ones being used out there....
>
>Stu.
>
>
>----------------------------------------------
>Stuart Summerville
>Home: [EMAIL PROTECTED]
>Work: [EMAIL PROTECTED]
>----------------------------------------------
------------------------------
Date: Tue, 23 Feb 1999 21:22:05 +0100
From: "Jens-U. Mozdzen" <[EMAIL PROTECTED]>
Subject: Re: Firewall blocks squid
Kai,
I had to enable traffic over the loopback interface (127.0.0.1), then
squid started to work for me.
I only permitted incoming traffic on port 3128 (squid proxy port) for
the interface to the internal network, no other ports required there. I
don't
now where your connection requests for the other port come from.
BTW, have you configured your firewall by hand, or did you use any
supplied scripts like within SuSE? You didn't mention which of these
protocols are enabled on which port... the rules can be more complex
than what you quoted.
Regards,
Jens
Kai Stroh wrote:
>
> Hi folks,
>
> I use a Linux machine as a router to the internet and I configured my
> firewall to block everything except the ports TCP 80 (WWW), TCP & UDP
> 110 (POP3) and TCP 25 (SMTP). WWW and Mail work just fine this way.
> Recently I installed squid and allowed connections on TCP 3128, but the
> clients cannot use the proxy. When I make the firewall accept *any*
> packets, squid works the way it should.
> iptraf displays that the Clients (i.e. Netscape) try to use the ports
> 1101, 1102, 1103... and squid does something on 127.0.0.1:1024, :1025,
> :1026...
>
> Does anyone know how I have to configure the firewall so won't block the
> proxy?
>
> TIA
>
> Kai
--
Jens-U. Mozdzen, Netzdesign und -entwicklung | email [EMAIL PROTECTED]
Schleswiger Damm 200 | phone & fax
++49-40-5595175
D-22457 Hamburg, Germany |
------------------------------
From: "Ger Donners" <[EMAIL PROTECTED]>
Subject: Re: ppp/routing problem
Date: Tue, 23 Feb 1999 22:27:22 +0100
As far as I know your telnet is working fine. Is your http and www set to
the correct port in /etc/services ?
This is what I would do :
telnet toad.stack.nl 80
Type something and wait for the response. If it is in HTML it works. If it
isn't your server might use another port for HTML.
It's not a very profesional way but it worked for me.
Ger Donners
Eric Raijmakers wrote in message <[EMAIL PROTECTED]>...
>Hi,
>
>I have a little problem with my ppp connection at home.
>I got pppd to work, seem to be able to connect to other
>hosts, but am somehow not able to receive anything back.
>
>When I try to contact a host, Netscape says
>"Host ... contacted. Waiting for reply...".
>
>Telnet behaves like follows:
>/usr/src/linux-2.2.1> telnet toad.stack.nl
>Trying 131.155.140.135...
>Connected to toad.stack.nl.
>Escape character is '^]'.
>
>And then nothing more happens.
>
>
>I invested quite a lot of time in reading the
>HOWTO and FAQ, but that didn't help. The strangest is
>that at one time, a few days ago, it did work! I don't
>know what was different with my system then.
>
>If anyone could give a hint of what's wrong here,
>I'd greatly appreciate. I've included my configuration
>files (/etc/ppp/options + /etc/ppp/pap-secrets)
>as well as the output of some programs (route, ping,
>ifconfig, and tcpdump) and part of /var/log/messages.
>
>A friend told me that it could have something to do with
>inetd. Could this be the case ?
>
>Thanks (for at least reading all this),
>Eric
>
>/etc/ppp/options:
>modem
>debug
>defaultroute
>noipdefault
>mtu 296
>mru 296
>user s365014
>
>/etc/ppp/pap-secrets:
># client server secret IP addresses
>s365014 * ......
>
>The command that starts ppp:
>pppd /dev/modem 115200 connect 'chat -v "" ATDT0402475555 CONNECT'
>
>route:
>~> route
>Kernel IP routing table
>Destination Gateway Genmask Flags Metric Ref Use
>Iface
>annex1.urc.tue. * 255.255.255.255 UH 0 0 0
>ppp0
>default annex1.urc.tue. 0.0.0.0 UG 0 0 0
>ppp0
>~> route -n
>Kernel IP routing table
>Destination Gateway Genmask Flags Metric Ref Use
>Iface
>131.155.12.10 0.0.0.0 255.255.255.255 UH 0 0 0
>ppp0
>0.0.0.0 131.155.12.10 0.0.0.0 UG 0 0 0
>ppp0
>
>ping:
>/etc> ping toad.stack.nl
>PING toad.stack.nl (131.155.140.135): 56 data bytes
>64 bytes from 131.155.140.135: icmp_seq=0 ttl=253 time=168.4 ms
>64 bytes from 131.155.140.135: icmp_seq=1 ttl=253 time=151.2 ms
>64 bytes from 131.155.140.135: icmp_seq=2 ttl=253 time=148.9 ms
>64 bytes from 131.155.140.135: icmp_seq=3 ttl=253 time=130.1 ms
>64 bytes from 131.155.140.135: icmp_seq=4 ttl=253 time=140.0 ms
>64 bytes from 131.155.140.135: icmp_seq=5 ttl=253 time=129.9 ms
>64 bytes from 131.155.140.135: icmp_seq=6 ttl=253 time=130.2 ms
>64 bytes from 131.155.140.135: icmp_seq=7 ttl=253 time=129.9 ms
>
>--- toad.stack.nl ping statistics ---
>8 packets transmitted, 8 packets received, 0% packet loss
>round-trip min/avg/max = 129.9/141.0/168.4 ms
>
>
>ifconfig:
>/etc/ppp> ifconfig
>ppp0 Link encap:Point-to-Point Protocol
> inet addr:131.155.12.96 P-t-P:131.155.12.9
>Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:296 Metric:1
> RX packets:29 errors:0 dropped:0 overruns:0 frame:0
> TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
>
>
>tcpdump:
>/etc/ppp> tcpdump
>tcpdump: listening on ppp0
>23:10:45.376730 131.155.12.96.nterm > 131.155.140.135.http: S
>2713223540:2713223540(0) win 32512 <mss 256,sackOK,timestamp 130739
>0,nop,wscale 0> (DF)
>23:10:45.536730 131.155.140.135.http > 131.155.12.96.nterm: S
>4194280394:4194280394(0) ack 2713223541 win 16592 <mss 1460,nop,wscale
>0,nop,nop,timestamp 372190 130739> (DF)
>23:10:45.536730 131.155.12.96.nterm > 131.155.140.135.http: . ack 1 win
>32512 <nop,nop,timestamp 130755 372190> (DF)
>23:10:45.536730 131.155.12.96.nterm > 131.155.140.135.http: . 1:245(244)
>ack
>1 win 32696 <nop,nop,timestamp 130755 372190> (DF)
>23:10:48.536730 131.155.12.96.nterm > 131.155.140.135.http: . 1:245(244)
>ack
>1 win 32696 <nop,nop,timestamp 131055 372190> (DF)
>23:10:54.536730 131.155.12.96.nterm > 131.155.140.135.http: . 1:245(244)
>ack
>1 win 32696 <nop,nop,timestamp 131655 372190> (DF)
>
>6 packets received by filter
>0 packets dropped by kernel
>
>
>/var/log/messages:
>Feb 21 23:08:45 s365014 pppd[290]: pppd 2.3.5 started by root, uid 0
>Feb 21 23:08:46 s365014 chat[291]: send (ATDT0402475555^M)
>Feb 21 23:08:46 s365014 chat[291]: expect (CONNECT)
>Feb 21 23:09:04 s365014 chat[291]: ATDT0402475555^M^M
>Feb 21 23:09:04 s365014 pppd[290]: Serial connection established.
>Feb 21 23:09:04 s365014 chat[291]: CONNECT
>Feb 21 23:09:04 s365014 chat[291]: -- got it
>Feb 21 23:09:05 s365014 pppd[290]: Using interface ppp0
>Feb 21 23:09:05 s365014 pppd[290]: Connect: ppp0 <--> /dev/modem
>Feb 21 23:09:09 s365014 pppd[290]: Remote message:
>Feb 21 23:09:09 s365014 pppd[290]: Unsupported protocol (0x802b)
>received
>Feb 21 23:09:12 s365014 pppd[290]: local IP address 131.155.12.96
>Feb 21 23:09:12 s365014 pppd[290]: remote IP address 131.155.12.9
>Feb 21 23:10:33 s365014 kernel: tcpdump uses obsolete
>(PF_INET,SOCK_PACKET)
>
>--
>
>Eric Raijmakers
>
>
>Post-masters Software Technology Programme | Oce-Technologies B.V.
>(Ontwerpersopleiding Technische Informatica) |
>Stan Ackermans Institute |
>Eindhoven University of Technology |
>Room HG 6.57 | Room 3G76
>P.O. Box 513 | P.O. Box 101
>5600 MB EINDHOVEN | 5900 MA Venlo
>Phone: +31 40 247 43 33 | Phone: +31 77 359 3581
>E-mail: [EMAIL PROTECTED] | E-mail: [EMAIL PROTECTED]
>
>http://www.stack.nl/~ericr/
> ___________________
>|oooo oooooo oo o =| "Bla bla, bla bla bla bla, bla bla",
>|___________________|
>| MARSHALL | Tom Arraya (Slayer),
>| |
>| | Dynamo Open Air 1997
>| |
>.___________________.
------------------------------
From: "Michel A. Lim" <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.smb
Subject: testparm hangs
Date: 23 Feb 1999 22:00:55 GMT
hello all. i've been playing with my smb.conf and resolv.conf files to
connect my linux server (RH 5.2, kernel 2.0.36-0.7, samba1.9.18p10) to my
windows network. at first, running testparm kept giving me the following:
Get_hostbyname: Unknown host WHL31
Failed to get my host name.
so, then i added the following entry to /etc/resolv.conf:
nameserver 192.168.34.1
now, when i run testparm, it hangs with no messages displayed. i can use
CTRL-C to cancel the command.
what's am i missing here? i've added more background information below.
thank you in your attention in this inquiry. any suggestions would be very
welcome. if you'd like to respond directly to my email address, remember to
remove NOSPAM from the reply address.
regards,
michel a. lim
associate
wong hobach lau
consulting engineers
structural/civil/construction management
www.whl-international.com
NT3.51 Server
name: WHL_NT1
workgroup: wong
domain: WHL_DC
ip address: 192.168.34.1
DHCP configured = yes
WINS configured = yes
Linux Red Hat 5.2 server (kernel 2.0.36-0.7, samba 1.9.18p10)
host name WHL31
interface eth0 uses DHCP
typical NT4/9x workstation
Intel EtherExpress PRO/10+ ISA network card
TCP/IP protocol installed
NetBEUI protocol installed as default protocol
the linux server does not appear in any workstation's network neighborhood.
however, i can ping the NT server by both name and ip address. i can ping
the workstations by ip address only. i can ping from the NT server, and i
can ping and telnet from a workstation to the linux server by ip address
only, but i have to ask the linux server what ip address it has been
assigned. i know i'm probably doing this the hard way, but it is more
practical for me to DHCP and WINS rather than assigning static ip addresses
to each workstation.
ifconfig
Link encap: Ethernet HWaddr: 00:A0:C9:16:83:F7
inet addr:192.168.34.8 Bcast:192.168.34.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
Rx packets:1671 errors:0 dropped:0 overruns:0 frame:0
Tx packets:892 errors:0 dropped:0 overruns:0 carrier:1 collisions:2
Interrupt:7 Base address:0x320
this works -
smbclient \\\\WHL_NT1\\WHL_CDRV -U mlim
Get_Hostbyname: Unknown host WHL31
Failed to get my hostname
Get_Hostbyname: Unknown host WHL31
No interface found for address 144.20.14.64
Added interface ip=144.20.14.64 bcast=144.20.255.255 nmask=255.255.0.0
Get_Hostbyname: Unknown host WHL31
Get_Hostbyname: Unknown host WHL31
startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such
file or directory
Server time is...
Timezone is UTC-8.0
password:
this does NOT work -
smbclient \\\\WHL27\\temp -U mlim
Get_Hostbyname: Unknown host WHL31
Failed to get my hostname
Get_Hostbyname: Unknown host WHL31
No interface found for address 144.20.14.64
Added interface ip=144.20.14.64 bcast=144.20.255.255 nmask=255.255.0.0
Get_Hostbyname: Unknown host WHL31
Get_Hostbyname: Unknown host WHL31
startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such
file or directory
Get_Hostbyname: Unknown host WHL31
cli_open_sockets: Unknown host WHL27
/etc/smb.conf
[global]
workgroup = wong
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
security = server
password server = WHL_NT1
socket options = TCP_NODELAY
interfaces = 192.168.34.0/255.255.255.0
domain controller = WHL_NT1
name resolve order = wins hosts lmhosts bcast
wins server = 192.168.34.1
encrypt passwords = yes
dns proxy=no
[homes]
comment=Home Directories
browseable=no
writeable=yes
[tmp]
comment = Temporary File Space
path = /tmp
read only = no
public = yes
/etc/resolv.conf
nameserver 192.168.34.1
/etc/hosts
127.0.0.1 localhost localhost.localdomain
192.168.34.1 WHL_NT1
when starting the http daemon, i receive the following errors:
httpd: cannot determine local host name
use ServerName directive to set it manually
is this related?
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: HELP! Peer to Peer Win98/Linux
Date: Tue, 23 Feb 1999 21:13:55 GMT
I would look into a PPP connection. Linux will have no problems
working over a null-modem connection; not sure how you'd convince
Windows to do the same, but I'm sure there's a way. Don't have
a box handy to muck with right now, but... (Probably want to
look into hacking together a "null modem" pseudo-modem INF file,
if you don't already have one; the 'ROLM DATAPHONE' INF file
would probably be easily adapted.)
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Steve Davidson) wrote:
>
> I would like to set up a peer to peer connection between my linux
> machine and
> my Windows machine. I have some data and devices that I would like to
> have
> shared between the two.
>
> The windows machine
> Win98
> Pentium300
> 64Megs Ram
> 32x CDRom
> 56K faxmodem
> printer
>
> The Linux box
> Slackware based OS
> 486-DX2 (66Mhz)
> 40Megs Ram
> 4GB HD
> printer
> No CDrom
>
> The two machines are currently connected via Null Modem cable
> (I will eventually be getting network cards, but not right now).
> I have no idea right now how to get the two machines to talk to one
> another, or even where to start looking.
>
> Either the procedure, or where to look to start this would be greatly
> appreciated.
>
> Thanks in advance,
> Steve.
>
>
=================================================
R. Christopher Harshman: [EMAIL PROTECTED]
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: "David Travers" <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp,force9.tech.linux,linux.redhat.ppp
Subject: IP Forwarding with Suse 5.2 and Startup Scripts
Date: Tue, 23 Feb 1999 22:45:25 -0000
How can I enable IP Forwarding at startup on Suse 5.2.
I know that if you do the following
echo 1 > /proc/net/sys/ipv4/ip_forward
this enables IP fowarding.
Is there anyway to automate this at startup because by default it is
currently switched off.
Also how do run programs and scripts upon booting the machine. Do you put
the entries in /etc/inittab.
By the way, I couldn't remember the correct sysntax of the above command, so
the
above syntax may be correct.
------------------------------
** 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
******************************