Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NetworkManager and statics?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jsosic
Guru
Guru


Joined: 02 Aug 2004
Posts: 510
Location: Split (Croatia)

PostPosted: Mon Jul 14, 2008 11:17 pm    Post subject: NetworkManager and statics? Reply with quote

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
View user's profile Send private message
aceFruchtsaft
Guru
Guru


Joined: 16 May 2004
Posts: 438
Location: Vienna, Austria

PostPosted: Tue Jul 15, 2008 7:28 am    Post subject: Reply with quote

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
View user's profile Send private message
jsosic
Guru
Guru


Joined: 02 Aug 2004
Posts: 510
Location: Split (Croatia)

PostPosted: Tue Jul 15, 2008 3:23 pm    Post subject: Reply with quote

So I guess I should wait for some time :)
_________________
I avenge with darkness, the blood is the life
The Order of the Dragon, I feed on human life
Back to top
View user's profile Send private message
Zazbar
Apprentice
Apprentice


Joined: 26 Jul 2005
Posts: 279
Location: Paris Time

PostPosted: Wed Jul 16, 2008 4:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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