Linux-Networking Digest #478, Volume #11         Thu, 10 Jun 99 05:13:38 EDT

Contents:
  Re: slow ppp connection on External ISDN modem (Darren Durbin)
  Re: functionality from LInux (Iain O'Cain)
  Re: FTP half working ("DJ Irvin")
  Re: Linux & Cybercafe (Alan Curry)
  Re: what time? (Yuki Taga)
  Re: networking cable help... (Lars =?iso-8859-1?Q?S=F6derstr=F6m?=)
  Dns problem ("bv")
  DHCP and Newbie Linux user (Daniel J. Swartz)
  2 nics, 2 gateways (Red Dragon)
  Re: Please recommend a network rack that's affordable ("Gregory D. Horne")
  Re: Delaying eth1 Initialization (Drake Christensen)
  Re: linux <--> win98 via network (Martin =?iso-8859-1?Q?Wahlstr=F6m?=)
  Re: Linux & Cybercafe (Moritz Moeller-Herrmann)
  FTP default access permissions ([EMAIL PROTECTED])
  NEED Help on routing and Samba ! HELP HELP!! (Marco Moor)

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

From: Darren Durbin <[EMAIL PROTECTED]>
Subject: Re: slow ppp connection on External ISDN modem
Date: Wed, 09 Jun 1999 20:54:46 +0100

Clifford Kite wrote:
> 
> Darren Durbin ([EMAIL PROTECTED]) wrote:
> 
> : However, I think ( and this is just a guess ) that the problem may be
> : that it only talks sync PPP, which older version of pppd didn't. I
> : believe the new versions have an option for this so I'm going to try it
> : when I get some free time...
> 
> AFAIK the ordinary PC serial port hardware (16550A UART) doesn't support
> syncronous.  If so, then you're not going to succeed without something
> to translate from asyncronous to syncronous.

Well, that's that idea buggered then.

If anyone knows how to get a 3Com Sportster ISDN TA External (
UK/European model, not the 128K US one ) to work under Linux ( it works
a treat under Windows ) I'd be grateful

Thanks,
Darren

-- 
Darren Durbin                   'I know that this is vitriol, no solution,
[EMAIL PROTECTED]     spleen venting, but I feel better having
                                screamed on you..." - R.E.M

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

From: [EMAIL PROTECTED] (Iain O'Cain)
Subject: Re: functionality from LInux
Date: 9 Jun 1999 19:48:57 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, Dan Teodor  <[EMAIL PROTECTED]> wrote:
>
>I have looked in all the LInux books for anything on any program called "dhcp"
>or "dhcpd" and cannot find anything, however, I have seen repeated references
>to ISPs using Linux boxes to dynamically assign IP addresses to Windows 95
>machines that are either dialing in or ar plugging into the local network? How
>exactly do they accomplish this? What is the name of the DHCP server for the
>RedHat 5.2 Linux ditribution.

I'd expect there to be a "dhcp" package in the 5.2 distribution, but if 
not, there's a great resource for binary RPM packages at rufus.w3.org, or
its mirror at userfriendly.net... check out

http://www.userfriendly.net/linux/RPM/DByName.html

- Iain

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

From: "DJ Irvin" <[EMAIL PROTECTED]>
Subject: Re: FTP half working
Date: Wed, 9 Jun 1999 15:03:11 -0500

try putting the following in a startup file

/sbin/modprobe ip_masq_ftp

that lets you use ftp clients behind the firewall without passive mode

Dean

mike lupo wrote in message <[EMAIL PROTECTED]>...
>I am using IPFWADM on my linux machine. It's my firewall to the internet
>from my internal network.  What the problem is is that when I try to FTP
>from my internal network I can see the directories...but anything that
>uses port 150, like "ls" I can't get anything returned to me.  Same
>thing when I attempt to do a "get" .
>
>Can anyone help
>Thanks
>
>Mike
>



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

Crossposted-To: alt.uu.comp.os.linux.questions,comp.os.linux.development.system
Subject: Re: Linux & Cybercafe
From: [EMAIL PROTECTED] (Alan Curry)
Date: Thu, 10 Jun 1999 06:54:45 GMT

In article <7jmvt6$[EMAIL PROTECTED]>,
Clint Byrum <[EMAIL PROTECTED]> wrote:
>
>Alan Curry wrote in message ...
>>In article <[EMAIL PROTECTED]>,
>>Maurice Kemmann  <[EMAIL PROTECTED]> wrote:
>>
>>And you think netscrape provides an unbreakable jail environment?
>>Edit/Preferences/Navigator/Applications - look, an editable list of
>commands
>>to be run.
>>
>>Anonymous public X terminal access is not going to be easy to do right.
>
>
>?? Maybe this seems to obvious, but couldn't one just take away the user's
>write permissions on any files they can't change, and viola! safety? The
>same could be done with execute permissions as well....

Who will volunteer to audit the entire netscrape source tree to verify that
there is no way to get it to download a file, chmod it to 755, and run it?

>Please, correct me(not necessarily FLAME me) if I'm missing something here.

Maybe you are, maybe you aren't, but with the netscrape executable being 13
megs I bet there's a hell of a lot we're both missing and that's why I
wouldn't count on it to provide any kind of restricted access to a guest
account.

Now if you can find some way to automatically delete and recreate the guest
account when the xdm session is logged out, that would be cool.
-- 
Alan Curry    |Declaration of   | _../\. ./\.._     ____.    ____.
[EMAIL PROTECTED]|bigotries (should| [    | |    ]    /    _>  /    _>
==============+save some time): |  \__/   \__/     \___:    \___:
 Linux,vim,trn,GPL,zsh,qmail,^H | "Screw you guys, I'm going home" -- Cartman

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

From: [EMAIL PROTECTED] (Yuki Taga)
Subject: Re: what time?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 10 Jun 1999 06:53:58 GMT

On 9 Jun 1999 01:56:43 GMT, in article <7jkhkr$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Ian Cottrell) wrote:

>Use 'clock --systohc' to set your hardware clock to the system time (after
>you've set the system time with 'date -s xx:xx').  You might have to
>'man hwclock' to get the correct man page, but it's all there.
>Good luck.........Ian

Hi Ian,

I noticed that just a few of my timestamps were 9 hours ahead of me, and since
I'm in Japan, 9 hours ahead of me is a time that doesn't yet exist anywhere in
the world.  In fact, unless someone moves the dateline, it can never be 9 hours
ahead of me, anywhere, ever.  ;-)  (Nine hours *behind* me is GMT.)

Anyway, I pulled out the man page on advice from some folks, and used that
command above -- just as you have suggested for this other fellow.  My system
clock is JST, by the way.  But after doing that, I still get this on boot:

Jun 10 13:38:19 localhost kernel: Freeing unused kernel memory: 60k freed 
Jun 10 13:38:19 localhost kernel: Adding Swap: 104384k swap-space (priority -1)

Jun 10 13:38:20 localhost crond: crond startup succeeded
Jun 10 13:38:20 localhost rc: Starting pcmcia succeeded
Jun 10 22:37:54 localhost rc.sysinit: Loading default keymap succeeded 
Jun 10 22:37:55 localhost rc.sysinit: Setting default font succeeded 
Jun 10 22:37:55 localhost rc.sysinit: Activating swap partitions succeeded 
Jun 10 22:37:55 localhost rc.sysinit: Setting hostname localhost.localdomain
succeeded 
Jun 10 22:37:55 localhost fsck: /dev/sdc5: clean, 74612/385560 files,
1076737/1542208 blocks 
Jun 10 22:37:55 localhost rc.sysinit: Checking root filesystem succeeded 
Jun 10 22:37:55 localhost rc.sysinit: Remounting root filesystem in read-write
mode succeeded 
Jun 10 22:38:03 localhost rc.sysinit: Finding module dependencies succeeded 
Jun 10 22:38:03 localhost fsck: /dev/sdb4 has reached maximal mount count,
check forced. 
Jun 10 22:38:11 localhost fsck: /dev/sdb4: 909/221184 files (1.4%
non-contiguous), 142845/883575 blocks 
Jun 10 22:38:12 localhost fsck: /dev/sda5: clean, 31/4016 files, 7433/16033
blocks 
Jun 10 22:38:12 localhost rc.sysinit: Checking filesystems succeeded 
Jun 10 22:38:12 localhost rc.sysinit: Mounting local filesystems succeeded 
Jun 10 22:38:12 localhost rc.sysinit: Turning on user and group quotas for
local filesystems succeeded 
Jun 10 13:38:15 localhost date: Thu Jun 10 13:38:15 JST 1999 
Jun 10 13:38:15 localhost rc.sysinit: Setting clock : Thu Jun 10 13:38:15 JST
1999 succeeded 
Jun 10 13:38:15 localhost rc.sysinit: Enabling swap space succeeded 
Jun 10 13:38:15 localhost init: Entering runlevel: 3 
Jun 10 13:38:17 localhost network: Bringing up interface lo succeeded 
Jun 10 13:38:17 localhost network: Bringing up interface ppp0 succeeded 

As you see, there are about 13 lines out of the many which are wrong.
The actual boot time was 1:38 pm JST.  At that time, there is no Jun 10 at
22:38 anywhere in this world.  Where it's 22:38, it's Jun 8, not Jun 10.  So,
what do you make of this, and how would you suggest attacking it?

One thing I notice is that the system clock gets set (see above) *after* these
invalid time stamps.  But I sure don't know how to fix this.

Yuki ^_^

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

From: Lars =?iso-8859-1?Q?S=F6derstr=F6m?= <[EMAIL PROTECTED]>
Subject: Re: networking cable help...
Date: Thu, 10 Jun 1999 07:08:22 GMT

I was facing the same kind of trouble. I'm setting up a network between our
family's summer houses and the distance from my house to the central hub is
~120m. I called the local Black Box representative for a price on a repeater. It
was 2500FIM(~400US$)! A bit too much for a summer house. He said that UTP twisted
pair (10Mb) should easily do 150m, especially as I don't have any disturbing
factors except some screaming children ;-). Nice advice, especially as he did not
sell anything.

--Lars Soderstrom

Dann Church wrote:

> With ethernet/twisted pair, you should be able to exend a single segment 180
> meters.  Beyond that, you'll need to have some kind of repeater to regenerate
> a clean signal.  The other caveat is that no two machines should be farther
> than 5 x 180 meters apart (cablewise).  Otherwise you run the danger of late
> collisions.
>
> Good Luck!
>
> --Dann Church
>
> cyberjb wrote:
>
> > im trying to run a network cable like... 500ft... hub to pc style... RJ45
> > cable
> >
> > some ppl say just buy 100ft cables and get a cuppluer. but i dont know
> > anyone else have someting to help me with?
> > or should i just do that cuppluer thing


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

From: "bv" <[EMAIL PROTECTED]>
Subject: Dns problem
Date: Wed, 9 Jun 1999 22:11:06 +0200

I use 'sygate' for windows on a computer to connect my other computer to
internet. (a program that provides a gateway and a dns-server). The gateway
works just fine. But dns doesn't! (sygate is alright, but linux can't find
any host names).
Also when i try to ping MB (the gateway) it can't find the ip for MB. If i
ping 195.195.195.75 (MB) it works fine. If i ping 207.155.248.4
 (ww.bleem.com) it also works

What do i have to put in my resolv.conf?





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

From: Daniel J. Swartz <[EMAIL PROTECTED]>
Subject: DHCP and Newbie Linux user
Date: 9 Jun 1999 20:31:19 GMT

I just put together a PII 350 system with a 3com 905B Nic and Caldera Open 
Linux 2.2. Everything is good so far. NIC works. My problem is this: I have 
an ADSL internet service that uses dhcp. I followed the dhcp mini howto to 
the letter. It did not work, I could not connect to the internet. Then I 
tried the troubleshooting section of the mini howto and tried running 
dhcpcd with the -r switch from a terminal window. That worked. But 
everytime I reboot I have to open a terminal window and type that command. 
The howto also said "If this solves your problem add the "-r" flag to the 
boot up scripts ie. instead of /sbin/dhcpcd you will have /sbin/dhcpcd -r"
How do I do this? I tried to edit /etc/sysconfig/network-scripts/ifup 
like it said, and I fouund a line that said something like .../sbin/dhcpcd 
-HD... and I inserted the lowercase r in front of the HD and rebooted but 
it still did not work. I sill have to manually enter dhcpcd -r for my 
internet to work.
Please go easy on me as I am just learning Linux.
Thanks in advance

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

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

From: Red Dragon <[EMAIL PROTECTED]>
Subject: 2 nics, 2 gateways
Date: Thu, 10 Jun 1999 02:22:37 -0500

I would like to know if anyone has information on running multiple
default gateways under linux.  I have 2 isdn lines through 2 different
routers and wish to combine bandwidth to the network by running multiple
default gateways so the information could be forwarded through either
gateway.


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

From: "Gregory D. Horne" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.networking
Subject: Re: Please recommend a network rack that's affordable
Date: Wed, 09 Jun 1999 03:14:30 -0400

CableCom manufacture racks and accessories.
SynOptics and Hewlett Packard manufacture hubs in both SNMP-managable
and non-managable versions.
You should also invest in a UPS such as those manufacturered by APC.

I can highly recommend these products since I have installed and
configured these products during many contracts with the military and
other government departments and agencies.

I hope this will point you in the right direction.

Gregory D. Horne
Information Technology Architect
The Network Laboratorium (NetLab)



FenderAXE wrote:

> Hi
>
> I'm new to networking and need to buy an inexpensive network rack to
> hold the patch panel, a hub, a monitor and a few other things --
> nothing huge or expensive, just good and sturdy.  A recommendation on
> where to purchase a rack would be terrific.
>
> Also, I need two 24 port patch panels, but I know nothing about them.
> Can you recommend a brand name and a place to buy them?
>
> Thanks!
>
> FA
> [EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Drake Christensen)
Crossposted-To: comp.os.linux.setup,linux.redhat.install
Subject: Re: Delaying eth1 Initialization
Date: Wed, 09 Jun 1999 20:46:01 GMT

Ah, that makes sense.  It's annoying, but it makes sense :-)

I suppose another alternative is to go buy a name-brand NIC and use ne 
for one and the specific driver for the other.

I'll try your approach and let you know the results.  I appreciate the 
quick response.

Drake

In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] says...
> Drake Christensen wrote:
>  
> > I'm trying to set up a 486/33 as a firewall using RedHat 5.2.
> > 
> > I have two SOHOware ND5320 NICs, and used the DOS disk to turn off PnP.
> > In conf.modules, I've swapped the eth0 and eth1 options and verified that
> > both work as eth0.
> 
> [snip]
> 
> Drake, the RedHat 5.2 manual (pages 303-304), says that "you can use two
> ethernet cards in one machine".  It then goes on to say that "if any two
> ethernet cards use the same driver (e.g., two 3c509s or a 3c595 and a
> 3c905), you will need to compile a custom kernel with the ethernet
> driver built-in.  In that case, you can use the "classic" LILO boot:
> parameters of the
> form:
> 
>     ether=irq,base.addr,interface"
> 
> (I believe you do not need to specify both cards, only the second one,
> but I have not done this myself so you may have to experiment.)
> 
> Since you are using two identical NICs, I believe this text applies to
> your situation.
> 
> 

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

From: Martin =?iso-8859-1?Q?Wahlstr=F6m?= <[EMAIL PROTECTED]>
Subject: Re: linux <--> win98 via network
Date: Thu, 10 Jun 1999 08:57:51 +0200

The hosts file on windows should be 'hosts'.
'hosts.sam' is a sample file, not used!

If you can ping them by IP number, You are on the right track.

        Martin/

Andrew King wrote:
> 
> I realize this may have been answered many times before, so please
> forgive any possible redundancy. I'm trying to get my Linux box and a
> Win98 laptop to ping one another on a network via a 10/100 ethernet hub,
> yet all my config attempts have been exhausted to no avail. Can any of
> you who have done this before provide me with the details?
> 
> Here's a brief synopsis:
> 
> RH Linux 5.1:
>         eth0: 192.168.2.1 configured and active
> 
>         /etc/hosts:
>                 127.0.0.1       loopback
>                 192.168.2.1     linux-1
>                 192.168.2.2     win98-1
> 
>         executed: route add default gw 192.168.2.1 eth0
> 
> Win98 (laptop):
>         NIC: 192.168.2.2 configured and active
> 
>         /windows/hosts.sam
>                 {same as above}
> 
>         TCP/IP properties for NIC set as follows:
>                 IP address: 192.168.2.2
>                 gateway: 192.168.2.1
> 
> Both systems are connected via CAT V twisted pair to a 10 MB/sec hub,
> yet neither can ping the other, but each can ping itself (via loopback,
> of course). Thanks in advance -
> 
> Andy

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

From: [EMAIL PROTECTED] (Moritz Moeller-Herrmann)
Crossposted-To: alt.uu.comp.os.linux.questions,comp.os.linux.development.system
Subject: Re: Linux & Cybercafe
Date: Wed, 9 Jun 1999 20:57:30 +0200
Reply-To: [EMAIL PROTECTED]

On 09 Jun 1999 15:19:42 +0100, David Knight <[EMAIL PROTECTED]> wrote:
>Maurice Kemmann <[EMAIL PROTECTED]> writes:

>> MicroNg schrieb:

>> > however, how to limit the access that so the user can only access the
>> > browser but NOT any other
>> > program ? ( to access other program, for eg for the webmaster to shutdown
>> > the computer, an passcode
>> > is required).

>> You can configure the windowmanager without any xterm. So the users are
>> not able to start any other program. On the desktop you offer only the
>> browser. Login should be via xdm !
>> That's it i think !

>That it itself probably wont work, just put in netscape

>telnet://localhost

>and it will open an xterm running the telnet session, from which they
>would then be able to start other programs.

You could just give an extremely limited PATH to the user who runs X. Just
Netscape and xinit. I think that would stop the telnet thingy. Anyways who
would allow telnetting in /etc/inetd.conf, if the machine is for a surf
station? Then I would use a windowmanager without the possibility to call
xterms or give commands directly. I think icewm could be configured to do
this. Then give only reading rights to all configuration items.

Oh and mount the /usr/ and /opt directories over the network.(NFS or SAMBA)
That way you can upgrade all software on one machine. If somebody manages to
crack his surf machine, he can't do a lot of BS there.

The first proposal (no WM) is not possible as Netscape itself opens up
several windows.


-- 
Moritz Moeller-Herrmann [EMAIL PROTECTED] ICQ# 3585990        # Not only
Get my public pgp / gpg key from                        # Open Source(TM)
http://webrum.uni-mannheim.de/jura/moritz/pubkeymoritz  # but also
KDE forever! Use Linux to impress your friends!         # Open Minded!


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

From: [EMAIL PROTECTED]
Subject: FTP default access permissions
Date: Thu, 10 Jun 1999 06:53:37 GMT

Hi,
does anybody know how to set the default file access permissions for an
ftp-account. I want read permission for everybody for the files stored
with
ftp.
Any help appreciated!

Regards
Stephan


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: [EMAIL PROTECTED] (Marco Moor)
Subject: NEED Help on routing and Samba ! HELP HELP!!
Date: Thu, 10 Jun 1999 08:20:12 GMT

Need despertly help.

Following troubles.

Samba:
  I try to connect from a win98 & NT, and it just dosent work, I dont
see
the samba server in my network neigthbour hood. If I go search for
computer
over <start> then it shows up. So I click on it and it keep asking me
about
a password.

tried so far:
Account exist on linux.
smbpasswd exist too, i created with smbpasswd -a MARCO WERT also tried
-a
marco wert and a mixup of them.
My entries in smb.conf.
encrypt password=true
browseable=yes
password level=8
username level=8
write ok=yes
default case=lower
service type=fileservice
admin users=Marco, MARCO, marco
valid users=Marco, MARCO, marco
hosts allow=192.168.120.003
mangle case=no
path=/
writeable=yes
public=yes
case senitive=no
force user=root  (and tried too) force user=MARCO (and so one)

I cant get ried of this password nox:( Any help are welcome.

routing:
fact: i have 2 win98 workstation and 1 winNT 4.0 Server. 1 zyxel
router
prestige where was befor connect in my lan, and everthing worked fine.
Now I tried to set up an linux box with suse 6.0.
Linux box haves 2 network cards, the local on is connect over AUI to
the
rest of my lan, and the router is connect over a RJ45 to the secound
card,
in the linux box.
Local lan address are :192.168.120.1 to 4
Linux Box haves xxx.120.002  / subnet 255.255.255.240

The secound card where is connect to the router haves the adress
192.168.1.2
sub 255.255.255.0
I enabled Ip forwarding in Kernel, without any firewall stuff.

hosts entry.
192.168.xxx.xxx  bla.bla.bla.
and so one
without the router (??)

route.conf entries:
192.168.1.0               0.0.0.0   255.255.255.0  eth0
192.168.120.0           0.0.0.0  255.255.255.240 eth1
default 192.168.1.1

results of route -n
dest.                     gate.               gen.               flags
met.   ref    face
192.168.1.2         0.0.0.0            255.255.255.255    UH   0    0
0
dumy0
192.168.120.0     same              255.255.255.240     U     0    0
1
eth1
192.168.1.0          same             255.255.255.0           U    0
0
0  eth0
127.0.0.0               same             255.0.0.0                   U
0
0      1  lo
0.0.0.0                 192.168.1.1     0.0.0.0
UG  0
0      0  eth0

Troubles:
As soon i try to connect with internet Explo. on the Win98 station the
router calls out, but nothing happens, after a few minutes i get the
message
URL can't be found.
Same if i try on Linux itself with netscape, it just hangs
Zyxel Router is online.
if I ping 192.168.1.1 it dosent seem to work, any other local ping
works
just fine.
cards are OK. i switched them around.

Any hint on this what i make wrong here???

Marco


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


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