Blog » Blog Entry

Gentoo 2006.1

January 6, 2007

I decided to have a look at Gentoo Linux. I'm an old Gentoo fan/user but I haven't installed it on any of my servers for a while.. this Ubuntu thing had been working so well and all.

The Live-CD was kinda neat. I got to a Gnome desktop and tried the curses-based installer. It ran and I went to bed since it was pretty late already. The installer crashed sometime during the night and gave me an unbootable system. I restarted the LiveCD and tried the GTK installer next.

The GTK installer finished with no errors. I rebooted and the system came up. Yay!

I tried to run `emerge sync` and was prompted to use the new syntax `emerge --sync` instead. So I did. I couldn't sync though as I had no network connection. I tracked the problem back to the fact that I had no default gateway set. I set one in the install, no idea what happened.

Digging deeper I found there was some odd looking syntax in my /etc/conf.d/net file:

routes_eth0="( "default via 10.0.0.1" )"

I changed that to:

routes_eth0="default via 10.0.0.1"

and restarted the networking. It produced some errors:

 *     No loaded modules provide "broadcast" (broadcast_start)

but seemed to fix my network issue.

So now I'm emerging vim and trying to figure out why I have an eth0 alias:

# ifconfig eth0:1
eth0:1    Link encap:Ethernet  HWaddr 00:20:78:18:4B:FB  
          inet addr:10.255.255.255  Bcast:10.255.255.255
          Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0x6800

Fun!

Tags: linux, gentoo, networking

« Tales from the dog house Looking for a needle not actually in the haystack.. »

strange installer behaviour

By: manlio <manlio dot garavaglia at libero dot it>

Posted: 1 year ago

wrong syntax:
routes_eth0="( "default via 10.0.0.1" )"

right syntax:
routes_eth0=( "default via 10.0.0.1" )

The same as for config_eth0 syntax:
config_eth0=( "10.0.0.<your address> brd 10.0.0.255 netmask 255.255.255.0" )

it seems that the installer writes off a wrong syntax :(
I spent one afternoon to discover that this was the problem, but if you look at net.example you have the right syntax ;)

Add a comment:

Title:

Comment:

Name:

Email: