You are not logged in.
Pages: 1
Hello.
well, stupid problem... i wanted to create network profile and it seems my /etc/network-profiles/default is empty... because i never used profiles before, i need it's content. so, can anyone post here the example profile?
Thanks.
chown -R us /home/your/.base
Offline
Hi Free Thinker,
this is the default profile:
#
# Network Profile
#
DESCRIPTION="Default Network Profile"
# Network Settings
INTERFACE=eth0
HOSTNAME=myhost
# Interface Settings (use IFOPTS="dhcp" for DHCP)
IFOPTS="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
GATEWAY=192.168.0.1
# DNS Settings (optional)
DOMAIN=localdomain
DNS1=192.168.0.1
DNS2=
# Wireless Settings (optional)
#ESSID=default
#KEY=
#IWOPTS="mode managed essid $ESSID channel 6 key restricted $KEY"
#WIFI_INTERFACE=wlan0 # use this if you have a special wireless interface
# that is linked to the real $INTERFACE
#WIFI_WAIT=5 # seconds to wait for the wireless card to
# associate before bringing the interface up
#USEWPA="yes" # start wpa_supplicant with the profile
#WPAOPTS="" # use "" for normal operation or specify additional
# options (eg, "-D ipw")
# see /etc/wpa_supplicant.conf for configuration
#AUTOWPA="yes" # automatically configure WPA
#PASSKEY="" # wpa passkey/phrase. for use with AUTOWPA
Offline
Thank you!
chown -R us /home/your/.base
Offline
FYI, the file you're looking for is called /etc/network-profiles/template, and it is provided by the initscripts package.
Offline
Hi,
i have a also a question to this topic
Is it possible to give a certain network profile a program to start with upon activation. Like openvpn for example or can i only use the predefined variables in that file?
I'm looking for a way to start a certain vpn connection for each network profile.
Offline
Hi,
i have a also a question to this topic
Is it possible to give a certain network profile a program to start with upon activation. Like openvpn for example or can i only use the predefined variables in that file?
I'm looking for a way to start a certain vpn connection for each network profile.
I'm not 100% sure, but I think brain0's autowifi scripts have the option of running a specific command after connecting to/disconnecting from a particular network. This might be what you're looking for.... More info here: http://bbs.archlinux.org/viewtopic.php?id=33679
Offline
FYI, the file you're looking for is called /etc/network-profiles/template, and it is provided by the initscripts package.
thats the problem. i do have this package installed and still the file was empty (even if i reinstalled the pkg).
Last edited by Free Thinker (2007-08-30 14:54:12)
chown -R us /home/your/.base
Offline
Pages: 1