Summary: | sys-apps/baselayout-2.0.0_alpha1 - default gw doesn't work | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Craig Andrews <candrews> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Fixe netmask2cidr |
Description
Craig Andrews
2007-04-12 20:50:38 UTC
routes_wlan0="default via 192.168.0.1" Eh, cut'n'paste sucks... routes_wlan0=( "default via 192.168.0.1" ) Thank you! Odd that I didn't have the parenthesis before, and it worked, but now it does. Oh well - good enough for me. (In reply to comment #2) > Eh, cut'n'paste sucks... > > routes_wlan0=( "default via 192.168.0.1" ) > Yes, this will work routes_wlan0=( "default via 192.168.0.1" ) so will this routes_wlan0="'default via 192.168.0.1'" As both define it one entity. However routes_wlan0="default via 192.168.0.1" defines 3 entities. jakub - there will no doubt be a few bugs regarding this :/ In our defense, routes_wlan0="default via 192.168.0.1" was never documented (In reply to comment #4) > jakub - there will no doubt be a few bugs regarding this :/ > In our defense, routes_wlan0="default via 192.168.0.1" was never documented There are lots of bugs all the time, no big problem w/ this. As long as stuff like ( "default via a.b.c.d" ) still works, it shouldn't be anything massive. :) One thing i noticed though is if using something like config_eth0="'83.227.236.5 netmask 255.255.255.192'" it won't set the netmask correctly, while '83.227.236.5/26' will. (In reply to comment #6) > One thing i noticed though is if using something like > config_eth0="'83.227.236.5 netmask 255.255.255.192'" > it won't set the netmask correctly, while '83.227.236.5/26' will. Thanks for that - it's just been fixed in our svn repo. Created attachment 116147 [details, diff]
Fixe netmask2cidr
|