View previous topic :: View next topic |
Author |
Message |
thechosen0ne n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/20548699714092c3a91975f.gif)
Joined: 23 Jan 2004 Posts: 36
|
Posted: Fri Feb 06, 2004 1:42 am Post subject: Network & Wireless config file information |
|
|
I'm in the process of rewriting Morphix's networkconf program to support Gentoo. However, Morphix uses a few different files than Gentoo for storing network information. I need to know where Gentoo keeps the following information:
1. Where information like IP address, netmask are
I think I found it, but I'm not sure
Am I correct that this it /etc/conf.d/net ?
2. Where Wireless network information is stored
I know there is a file called /etc/conf.d wlan.conf
It seems to be for SSID's and it uses files called wlancfg-SSID.
I need some explanation of how the wlancfg file interacts with iwconfig, etc.
3. What is the command for releasing/renewing/changing the IP address?
I know gentoo uses dhcpcd for some things, and has the /etc/init.d/net.iface scripts,
How do I say, change the IP address from DHCP to static (and assign the static) or vice-versa.
Thanks, hopefully with some luck there will soon be a graphical program to change your IP/Wireless settings for Gentoo ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Fri Feb 06, 2004 11:45 am Post subject: Re: Network & Wireless config file information |
|
|
thechosen0ne wrote: |
1. Where information like IP address, netmask are
I think I found it, but I'm not sure
Am I correct that this it /etc/conf.d/net ? |
That is correct
Quote: |
2. Where Wireless network information is stored
I know there is a file called /etc/conf.d wlan.conf
It seems to be for SSID's and it uses files called wlancfg-SSID.
I need some explanation of how the wlancfg file interacts with iwconfig, etc. |
Gentoo currently has no base wireless config. Instead it currently relies on the configs for various packages. However, I'm currently building wireless support into /etc/conf.d/net and /etc/init.d/net.IFACE scripts
https://forums.gentoo.org/viewtopic.php?t=122435&highlight=net+ath0
Quote: |
3. What is the command for releasing/renewing/changing the IP address?
I know gentoo uses dhcpcd for some things, and has the /etc/init.d/net.iface scripts,
How do I say, change the IP address from DHCP to static (and assign the static) or vice-versa. |
AFAIK there is none - you have to modify the config's and restart the interfaces.
Quote: |
Thanks, hopefully with some luck there will soon be a graphical program to change your IP/Wireless settings for Gentoo ![Very Happy :D](images/smiles/icon_biggrin.gif) |
Does Gentoo really need it? I mean, you have to have networking working from the get-go really unless you've installed from a Stage3+GRP |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|