Searching \ for '[OT]: Sucking linux at 1am' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=sucking+linux+1am
Search entire site for: 'Sucking linux at 1am'.

Exact match. Not showing close matches.
PICList Thread
'[OT]: Sucking linux at 1am'
2000\06\06@041940 by James Michael Newton

picon face
Ok, I've got lots of cool things working on the Linux box but I could see
that running the Linux box behind a Windows proxy was going to prevent
several of the next steps from getting taken... so... shut down the Windows
server, reconfig the Linux box to directly connect to the cable modem and...

...why does it keep adding a route that is completely wrong?

Cox@Home says that I'm to be 24.15.132.183 with a netmask of 255.255.255.128
broadcast 24.15.132.255 gateway 24.15.132.129

So I put all that in to the nice xwindows version of linixconf under eth0
(well..no.. the gateway was under what? basic host information?) host name
nix.massmind.org default gateway 24.15.132.129 and I restart the box.

mail and httpd won't start. Three finger salute, interactive boot, skip
those two, start looking for what I did wrong.
ifconfig eth0 looks just peachy. route -n shows (I can't run the Linux box
at the same time and I'm doing this from memory at 1am)
Destination Gateway Genmask Flags Metric Ref iface
24.15.132.183 0.0.0.0 255.255.255.0 UH 0 0 eth0
24.15.132.128 0.0.0.0 255.255.255.128 U 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 lo
0.0.0.0 24.15.132.129 0.0.0.0 UG 0 0 eth0

I can ping 24.15.132.183 and 127.0.0.1 but not 24.15.132.129 or anything
else.

So the questions are: What the hell is that 24.15.132.128 0.0.0.0
255.255.255.128 line and where is it coming from and why can't I delete it?
I'm trying 10000 variations of route del 24.15.132.128 and I always get some
"process doesn't exist" message.

Could some one please point out the obvious stupid mistake or nix-newbie
misunderstanding I'm trapped in this time? I know this just isn't that hard.

James Newton
spam_OUTjamesnewtonTakeThisOuTspamgeocities.com
1-619-652-0593 phone


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

2000\06\06@104605 by John C. Frenzel

flavicon
face
> Ok, I've got lots of cool things working on the Linux box but I could see
> that running the Linux box behind a Windows proxy was going to prevent
> several of the next steps from getting taken... so... shut down the
Windows
> server, reconfig the Linux box to directly connect to the cable modem
and...
>
> ..why does it keep adding a route that is completely wrong?
>
> Cox@Home says that I'm to be 24.15.132.183 with a netmask of
255.255.255.128
> broadcast 24.15.132.255 gateway 24.15.132.129
How is the cable modem connected to the Linux box?  Is it via an ethernet
card?  How does it set up the pc in the previous config?  Is it using DHCP?
If it is, then the easiest way to interface it to the linux box is directly
with a second ethernet card.  eth1 to the cable modem and eth0 to the local
hub for the internal network.  Take a look at the Cable Modem How To if you
haven't done so.  It is packed with ideas.

>
> So I put all that in to the nice xwindows version of linixconf under eth0
> (well..no.. the gateway was under what? basic host information?) host name
> nix.massmind.org default gateway 24.15.132.129 and I restart the box.

Until the routing is working don't even mess with mail and Apache you are
just wasting your time.
{Quote hidden}

That is all within your own machine.  127.0.0.1 is the loopback interface
and the other is the eth0 card.   0.0.0.0 is the representation of the
default route.
>
> So the questions are: What the hell is that 24.15.132.128 0.0.0.0
> 255.255.255.128 line and where is it coming from and why can't I delete
it?
> I'm trying 10000 variations of route del 24.15.132.128 and I always get
some
> "process doesn't exist" message.

Get out of the X-windows interface and go to the command line.  Look at the
/etc/hosts file.  This is read at startup to make your routing table.  If
this is a DHCP setup, then DHCP is possibly putting it there.

>
> Could some one please point out the obvious stupid mistake or nix-newbie
> misunderstanding I'm trapped in this time? I know this just isn't that
hard.
>

It can be this hard.  This is a rather complex deal.  I would break the
problem down like this:
1)  Bring up the Linux machine and get it working to the point of being able
to ping it from another machine on the local net.  Win95/98 is easy to use
to do this.  That way you know the routing table is heading in the right
direction.
2)  Find out what the cable modem is expecting in terms of DHCP and what you
need to talk to it.  If you got Win95/98 working with it, look at the
settings.  You will need to emulate this by running DHCP on the linux box.
When this is working, you will be able to ping the outside world.  You will
need to config the DNS stuff also.
3)  Get the howto's and read them.
4)  Look at http://www.linuxrouter.org  The archives are full of stuff like this
5)  Books by O'Reilly are a lifesaver esp. TCP/IP Network Administration
(the crab) and Linux Network Administrator's Guide

Good Luck,
John

2000\06\06@120658 by jamesnewton

face picon face
How is the cable modem connected to the Linux box?  Is it via an ethernet
card?
the Cable modem, and each of the machines (the Linux box and two Windows
boxes) are all connected at a 5 port hub. All that is known good. I have the
Windows boxes turned off while working with the Linux box

How does it set up the pc in the previous config?
As described. The Win server is 24.15.132.183 with a netmask of
255.255.255.128 gateway 24.15.132.129 you just type it in and it works...

Is it using DHCP?
If I remember correctly, the Win server has DHCP and WINS off... but I will
check that. I'll also check the /etc/hosts file

Right now, I'm just trying to get the Linux box to talk to the cable modem
and internet... there IS NO internal network. When I get to that point, I'd
like to avoid a second ethernet card, but it may be worth it for IP masq.
I'm not trying to start mail or httpd at this point.

I will look at the Cable Modem How To, thanks for reminding me of its
existance, I'll bet that will do it for me.


---
James Newton .....jamesnewtonKILLspamspam@spam@geocities.com 1-619-652-0593


{Original Message removed}

2000\06\06@130835 by Dale Botkin

flavicon
face
On Tue, 6 Jun 2000, James Michael Newton wrote:

> ...why does it keep adding a route that is completely wrong?

If you're anything like me, you've fat-fingered somwthing, somewhere along
the line.  You may have to dig for it to fix it.  As was earlier
suggested, ditch the GUI tools for now and use the command line...

> Cox@Home says that I'm to be 24.15.132.183 with a netmask of 255.255.255.128
> broadcast 24.15.132.255 gateway 24.15.132.129

Sounds reasonable.

> ifconfig eth0 looks just peachy. route -n shows (I can't run the Linux box
> at the same time and I'm doing this from memory at 1am)
> Destination Gateway Genmask Flags Metric Ref iface
> 24.15.132.183 0.0.0.0 255.255.255.0 UH 0 0 eth0
> 24.15.132.128 0.0.0.0 255.255.255.128 U 0 0 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 lo
> 0.0.0.0 24.15.132.129 0.0.0.0 UG 0 0 eth0

Does look a bit odd.  I don't have a system I can configure with a /25
netmask available at the moment, but another thought occurred to me --
since you can't even ping .129, this rings a bell with me.  Have you
power-cycled your cable modem?  If you're using a Motorola one like mine,
it's got an ARP cache that never goes away, and it probably still thinks
24.15.132.183 is your Windoze machine and is using its MAC address.

Also - do this:
cd /etc/sysconfig
grep "255.255.255.0" *

See if there's a line in one of your config files with the wrong netmask.
Even if you misconfigured that, though, you SHOULD still be able to at
least see your gateway.  Even with a 0.0.0.0 netmask you should be able to
see that.

> Could some one please point out the obvious stupid mistake or nix-newbie
> misunderstanding I'm trapped in this time? I know this just isn't that hard.

I'll bet my next cup of coffee you got the Linux bits right and your cable
modem is hosing you.

Dale
---
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
               -- Isaac Asimov

2000\06\06@131215 by Andy Kelley N1YEW

picon face
Hi James,


you said the pc is 24.15.132.128 and gateway is 24.15.132.129

the pc said
Destination Gateway Genmask Flags Metric Ref iface
24.15.132.183 0.0.0.0 255.255.255.0 UH 0 0 eth0
24.15.132.128 0.0.0.0 255.255.255.128 U 0 0 eth0
127.0.0.1 0.0.0.0 255.0.0.0 U 0 0 lo
0.0.0.0 24.15.132.129 0.0.0.0 UG 0 0 eth0



first off... i see that you dont have a default route via 24.15.132.129 or route 24.15.132.129

do:
route del 0.0.0.0
   - gets rid of that 0.0.0.0 entry

route del 24.15.132.128
   - gets rid of that false entry

route add 24.15.132.129 dev eth0
   - adds 24.15.132.129 via eth0

route add default gw 24.15.132.129 dev eth0
   - adds default gw 24.15.132.129 and interface eth0

then Linux should be able to ping anyone on the internet as long as...... you have a DNS lookup somewhere.

Andy K.
Amateur Radio Callsign: N1YEW

BTW: You might wish to purchase Using Linux: The Complete Reference printed by Que.  No, I dont work for them :)

 {Original Message removed}

2000\06\06@140135 by rleggitt

picon face
> the Cable modem, and each of the machines (the Linux box and two Windows
> boxes) are all connected at a 5 port hub. All that is known good. I have the
> Windows boxes turned off while working with the Linux box
Hey wait, can this really work? Doesn't the internal network need to be on
it's own eth1?

2000\06\06@141836 by David VanHorn

flavicon
face
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


>Hey wait, can this really work? Doesn't the internal network need to be on
>it's own eth1?

That's how I do it.  The net machine has two ethernet cards, one for the
CM, and one out to the hub. Everything else connects to the hub.  Works
great. (unless you don't get this email :)

- --
Are you an ISP?  Tired of spam?
http://www.spamwhack.com  A pre-emptive strike against spam!

Where's Dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>

iQA/AwUBOT1YroFlGDz1l6VWEQLPbQCg6IjDhPkeQqqkh60g/Xv78A43kZ0AoNKc
Yrs8OUi3vyXNQ953NpYrswbn
=vqfR
-----END PGP SIGNATURE-----

2000\06\06@142453 by Dale Botkin

flavicon
face
On Tue, 6 Jun 2000 rleggittspamKILLspamconcentric.net wrote:

> > the Cable modem, and each of the machines (the Linux box and two Windows
> > boxes) are all connected at a 5 port hub. All that is known good. I have the
> > Windows boxes turned off while working with the Linux box
> Hey wait, can this really work? Doesn't the internal network need to be on
> it's own eth1?
>
Yes, it can work.  You can either have one IP assigned to eth0 and have
assigned IPs for your workstations (bad idea).  You can also create a
virtual interface like eth0:0, and assign a private IP to eth0:0 and use
the same physical network segment for two IP nets.  This is not perfect,
but unless someone figures out how to either hack into your Linux box or
route private IP traffic over the Internet, you're not exposed too badly.

Ideally, you have one Ethernet card talking to the cable modem via a
crossover Ethernet cable and another connected to your internal LAN on a
hub or switch.  I've seen it both ways, though.

Dale
---
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
               -- Isaac Asimov

2000\06\06@150245 by John C. Frenzel
flavicon
face
----- Original Message -----
From: <.....rleggittKILLspamspam.....CONCENTRIC.NET>
To: <EraseMEPICLISTspam_OUTspamTakeThisOuTMITVMA.MIT.EDU>
Sent: Tuesday, June 06, 2000 1:07 PM
Subject: Re: [PICLIST] [OT]: Sucking linux at 1am


> > the Cable modem, and each of the machines (the Linux box and two Windows
> > boxes) are all connected at a 5 port hub. All that is known good. I have
the
> > Windows boxes turned off while working with the Linux box
> Hey wait, can this really work?
you can do it like this, but it is a REAL pain when it comes time to make
Samba and Apache work.  Also, none of the machines are firewalled, so that
door remains open
> Doesn't the internal network need to be on it's own eth1?
IMO that is the best way to go.  Local services stay local, and are
protected behind a firewall.  Without it, some hacker can spool a 1000 page
print job to your local printer, or mount your W98 shares and you got no
control.
John

2000\06\06@175143 by jamesnewton

face picon face
Ok, it worked fine with a Windows server and 1 nic and I even had several
local hackers say that the system was tight, running zonealarm and a good
proxy server, but...

...I'll plan on putting another NIC in the Linix box to drive the hub and
intranet once I get the first one working with the cable modem. IP
Masquerading looked good anyway, the Proxy configurations on the internal
machines are a pain.

...wonder if that local store still has some of those $11 SMC cards...


---
James Newton jamesnewtonspamspam_OUTgeocities.com 1-619-652-0593


{Original Message removed}

2000\06\09@105015 by jamesnewton

face picon face
Ok, it's not dhcp, 'cause cox@home and cox@work doesn't use that and it is
turned off on the win box that works just fine. All the IP addresses are
just hard coded. No WINS no DHCP.

Its not the cable modem reset 'cause there is no reset button on the back
and I've power cycled the modem and it makes no difference.

The Linux documentation project cable modem howto is filled with all kinds
of good information on cable providers other than cox@home/work.

I bought the Linux Network Administrator's Guide, even though it doesn't
seem to have much on this, but does have a lot on other things and a nice
quick reference for all the *nix type commands that I'm not used to.

Tonight I will try to get the ifconfig eth0 result and Andy K.'s
suggestions:
<BLOCKQUOTE>
route del 0.0.0.0
   - gets rid of that 0.0.0.0 entry

route del 24.15.132.128
   - gets rid of that false entry

route add 24.15.132.129 dev eth0
   - adds 24.15.132.129 via eth0

route add default gw 24.15.132.129 dev eth0
   - adds default gw 24.15.132.129 and interface eth0
</BLOCKQUOTE>

...except that I know that first route del will generate some error
message... I'll get the exact text this time....

Is there anyone who has done this in the San Diego area that I could offer
to pay a small amount to (or dinner, or some sort of trade) in return for
coming over to the house and saying "Oh, here's the problem, you have the
framastan cross linked with the whatsit..." I'm really frustrated.

---
James Newton @spam@jamesnewtonKILLspamspamgeocities.com 1-619-652-0593


{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...