public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] OT - Need /etc/conf.d/net setup help
@ 2006-10-12 21:04 Michael Sullivan
  2006-10-12 22:38 ` Ted Ozolins
  2006-10-12 23:15 ` Bo Ørsted Andresen
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Sullivan @ 2006-10-12 21:04 UTC (permalink / raw
  To: gentoo-user

I have SBC DSL with static WAN IPs.  I use the 2Wire OfficePortal as my
DSL modem/router.  SBC told me that in order to map my WAN addresses to
my individual PCs, I have to use DHCP.  The problem is that using the
default DHCP configuration (no /etc/conf.d/net), my /etc/resolv.conf
file gets overwritten.  This is annoying because it rewrites my domain
name.  I've tried the following options in /etc/conf.d/net:

set dhcp_ESSID="nodns"
dns_servers_ESSID=( "70.234.122.250" )
modules=( "ifconfig" )
config_eth0=( "dhcp" )
dhcpcd_eth0="-t 10"
dhcp_eth0="nodns nontp"
config_eth0=( "dhcp" )

Whenever I try to restart /etc/init.d/net.eth0 with these options it
tells me:

camille conf.d # /etc/init.d/net.eth0 restart
 * Caching service dependencies ...
[ ok ] * ERROR: not enough args.

 * Usage: net.eth0 { start|stop|restart }
 *        net.eth0 without arguments for full help

What exactly is the problem here?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] OT - Need /etc/conf.d/net setup help
  2006-10-12 21:04 [gentoo-user] OT - Need /etc/conf.d/net setup help Michael Sullivan
@ 2006-10-12 22:38 ` Ted Ozolins
  2006-10-12 23:04   ` Michael Sullivan
  2006-10-12 23:15 ` Bo Ørsted Andresen
  1 sibling, 1 reply; 5+ messages in thread
From: Ted Ozolins @ 2006-10-12 22:38 UTC (permalink / raw
  To: gentoo-user

Michael Sullivan wrote:

>I have SBC DSL with static WAN IPs.  I use the 2Wire OfficePortal as my
>DSL modem/router.  SBC told me that in order to map my WAN addresses to
>my individual PCs, I have to use DHCP.  The problem is that using the
>default DHCP configuration (no /etc/conf.d/net), my /etc/resolv.conf
>file gets overwritten.  This is annoying because it rewrites my domain
>name.  I've tried the following options in /etc/conf.d/net:
>
>set dhcp_ESSID="nodns"
>dns_servers_ESSID=( "70.234.122.250" )
>modules=( "ifconfig" )
>config_eth0=( "dhcp" )
>dhcpcd_eth0="-t 10"
>dhcp_eth0="nodns nontp"
>config_eth0=( "dhcp" )
>
>Whenever I try to restart /etc/init.d/net.eth0 with these options it
>tells me:
>
>camille conf.d # /etc/init.d/net.eth0 restart
> * Caching service dependencies ...
>[ ok ] * ERROR: not enough args.
>
> * Usage: net.eth0 { start|stop|restart }
> *        net.eth0 without arguments for full help
>
>What exactly is the problem here?
>
>  
>
I could be wrong, but should it not read:
set dhcp_eth0="nodns"
dns_servers_eth0=( "70.234.122.250" )

???

-- 
Ted Ozolins(VE7TVO)
Cranbrook, B. C

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] OT - Need /etc/conf.d/net setup help
  2006-10-12 22:38 ` Ted Ozolins
@ 2006-10-12 23:04   ` Michael Sullivan
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Sullivan @ 2006-10-12 23:04 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-10-12 at 15:38 -0700, Ted Ozolins wrote:
> Michael Sullivan wrote:
> 
> >I have SBC DSL with static WAN IPs.  I use the 2Wire OfficePortal as my
> >DSL modem/router.  SBC told me that in order to map my WAN addresses to
> >my individual PCs, I have to use DHCP.  The problem is that using the
> >default DHCP configuration (no /etc/conf.d/net), my /etc/resolv.conf
> >file gets overwritten.  This is annoying because it rewrites my domain
> >name.  I've tried the following options in /etc/conf.d/net:
> >
> >set dhcp_ESSID="nodns"
> >dns_servers_ESSID=( "70.234.122.250" )
> >modules=( "ifconfig" )
> >config_eth0=( "dhcp" )
> >dhcpcd_eth0="-t 10"
> >dhcp_eth0="nodns nontp"
> >config_eth0=( "dhcp" )
> >
> >Whenever I try to restart /etc/init.d/net.eth0 with these options it
> >tells me:
> >
> >camille conf.d # /etc/init.d/net.eth0 restart
> > * Caching service dependencies ...
> >[ ok ] * ERROR: not enough args.
> >
> > * Usage: net.eth0 { start|stop|restart }
> > *        net.eth0 without arguments for full help
> >
> >What exactly is the problem here?
> >
> >  
> >
> I could be wrong, but should it not read:
> set dhcp_eth0="nodns"
> dns_servers_eth0=( "70.234.122.250" )
> 
> ???
> 
> -- 
> Ted Ozolins(VE7TVO)
> Cranbrook, B. C
> 

I changed those two lines, and it still didn't work...

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] OT - Need /etc/conf.d/net setup help
  2006-10-12 21:04 [gentoo-user] OT - Need /etc/conf.d/net setup help Michael Sullivan
  2006-10-12 22:38 ` Ted Ozolins
@ 2006-10-12 23:15 ` Bo Ørsted Andresen
  2006-10-13  0:02   ` Michael Sullivan
  1 sibling, 1 reply; 5+ messages in thread
From: Bo Ørsted Andresen @ 2006-10-12 23:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]

On Thursday 12 October 2006 23:04, Michael Sullivan wrote:
[SNIP]
> camille conf.d # /etc/init.d/net.eth0 restart
>  * Caching service dependencies ...
> [ ok ] * ERROR: not enough args.
>
>  * Usage: net.eth0 { start|stop|restart }
>  *        net.eth0 without arguments for full help
>
> What exactly is the problem here?

Hmm.. What is the output of:

# equery check sys-apps/baselayout

?

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] OT - Need /etc/conf.d/net setup help
  2006-10-12 23:15 ` Bo Ørsted Andresen
@ 2006-10-13  0:02   ` Michael Sullivan
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Sullivan @ 2006-10-13  0:02 UTC (permalink / raw
  To: gentoo-user

On Fri, 2006-10-13 at 01:15 +0200, Bo Ørsted Andresen wrote:
> On Thursday 12 October 2006 23:04, Michael Sullivan wrote:
> [SNIP]
> > camille conf.d # /etc/init.d/net.eth0 restart
> >  * Caching service dependencies ...
> > [ ok ] * ERROR: not enough args.
> >
> >  * Usage: net.eth0 { start|stop|restart }
> >  *        net.eth0 without arguments for full help
> >
> > What exactly is the problem here?
> 
> Hmm.. What is the output of:
> 
> # equery check sys-apps/baselayout
> 
> ?


camille conf.d # equery check sys-apps/baselayout
[ Checking sys-apps/baselayout-1.12.5-r2 ]
!!! /etc/rc.conf has incorrect md5sum
!!! /etc/conf.d/net has incorrect md5sum
!!! /etc/gentoo-release has wrong mtime (is 1159508599, should be
1159508554)
!!! /etc/conf.d/hostname has incorrect md5sum
!!! /etc/modules.autoload.d/kernel-2.6 has incorrect md5sum
!!! /etc/profile has incorrect md5sum
!!! /etc/sysctl.conf has incorrect md5sum
!!! /dev/MAKEDEV does not exist
!!! /etc/conf.d/clock has incorrect md5sum
!!! /etc/services has incorrect md5sum
 * 141 out of 151 files good

Not good...?

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-13  0:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12 21:04 [gentoo-user] OT - Need /etc/conf.d/net setup help Michael Sullivan
2006-10-12 22:38 ` Ted Ozolins
2006-10-12 23:04   ` Michael Sullivan
2006-10-12 23:15 ` Bo Ørsted Andresen
2006-10-13  0:02   ` Michael Sullivan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox