Recently, Somebody Somewhere wrote these words
>
> I ran 'routel' in both Mandrake and BLFS. There's one glaring
> difference. In Mandrake there's a route that looks like this:
>
> target gateway source proto scope
> dev tbl
>
> default 216.139.123.254
> eth0
>
> So I tried to add something similar to the BLFS tables by running
>
> route add default gw [Gateway IP]
>
> I got the message: 'SIOCADDRT Network is unreachable.' Doing Google I
> found an article at this site:
> http://www.uit.co.uk/practical-tcpip/w-rterr-015.htm
>
> It describes these errors. For the one that I received, it says:
>
> route add default gw 1.2.3.4
>
> The routeaddr isn't on a directly connected network so this machine
> would be unable to forward packets to it
That's easy - forget it. The route is added after you are connected
automagically.
>
> A short summary of my problem. Network wouldn't run because of driver
> wouldn't load and bad IRQ. I've fixed both of those but now I can't
> update my route tables--if this is the cause. One problem that
> persists in all of this is the behaviour of the network with the
> GATEWAY line in the ipv4 file. I'm wondering if the SIOCADDRT and the
> network behaviour aren't two symptoms of the same problem. How to
> fix??
The gateway thing I wouldn't worry about, as a successful login usually
fixes these.
>
> Oh, BTW. When I set up RP-PPPoE and created the
> /etc/sysconfig/network-devices/ifconfig.eth0/pppoe file. The book
> said to enclose the entries in ". For example, ONBOOT="yes."
> However, for the corresponding file for ipv4, the LFS book does not
> include the quotes. Same line from LFS, ONBOOT=yes. Which syntax is
> correct?
>
See my other mail. no pppoe. No dhcp.
As for the syntax, it's the same with or without quotes until you have
a space
ONBOOT=yes will pass yes to the variable.
ONBOOT=yes or no will pass yes to the variable and then trip over the
rest. Results are unpredictable.
ONBOOT="yes or no" passes the lot. Useful for program options
--
With best Regards,
Declan Moriarty.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page