View previous topic :: View next topic |
Author |
Message |
jsosic Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1231780896489e41f206c29.jpg)
Joined: 02 Aug 2004 Posts: 510 Location: Split (Croatia)
|
Posted: Mon Jul 14, 2008 11:17 pm Post subject: NetworkManager and statics? |
|
|
Hi!
I started using NetworkManager, and I'm pretty happy - except that I miss the possibility of a static IP setup for eth0... Because, at my workplace, I have to have static IP, so I must "ifconfig, route, resolv.conf" every time I reboot my machine....
I'm using KNetworkManager frontend. Can I somehow create static connection? _________________ I avenge with darkness, the blood is the life
The Order of the Dragon, I feed on human life |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
aceFruchtsaft Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/75310361040f56cba0d7b7.gif)
Joined: 16 May 2004 Posts: 438 Location: Vienna, Austria
|
Posted: Tue Jul 15, 2008 7:28 am Post subject: |
|
|
You can do this with the NetworkManager shipped with openSUSE 11, which is some prerelease of 0.7, IIRC. I don't know about the 0.6.x versions currently in portage, though. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jsosic Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1231780896489e41f206c29.jpg)
Joined: 02 Aug 2004 Posts: 510 Location: Split (Croatia)
|
Posted: Tue Jul 15, 2008 3:23 pm Post subject: |
|
|
So I guess I should wait for some time ![Smile :)](images/smiles/icon_smile.gif) _________________ I avenge with darkness, the blood is the life
The Order of the Dragon, I feed on human life |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zazbar Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_emperor.gif)
Joined: 26 Jul 2005 Posts: 279 Location: Paris Time
|
Posted: Wed Jul 16, 2008 4:48 pm Post subject: |
|
|
I'm in ~amd64 and i can use a static ip at each boot ... just fill /etc/conf.d/net and Network manager will use it ...
If you don't fill this file for interfaces it seems to use dhcp ...
mine looks like :
Code: | $ cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /usr/share/doc/openrc/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0="192.168.1.2 netmask 255.255.255.0"
routes_eth0="default via 192.168.1.1"
dns_servers_eth0="192.168.1.1"
|
_________________ Mieux vaut fermer sa gueule et passer pour un con que l'ouvrir et montrer qu'on l'est. -- P. Dac - Pensées |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|