openSUSE Forums > Archives > Novell Archives » Re: Changing IP address

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 30-Jul-2005, 16:49
Shawn Adams
Guest
 
Posts: n/a
Default Re: Changing IP address




Charles

an example:

------------------
su - root
<password>


ifconfig wlan0 192.168.17.8 netmask 255.255.255.0

route add default gw 192.168.17.1
-------------------------

That's it, this is dynamic though, once you reboot, it's gone.

Yast edits /etc/sysconfig/network/ifcfg-wlan0, you can edit this
manually by adding these entries:

BOOTPROTO='static'
BROADCAST='192.168.17.255'
IPADDR='192.168.17.8'
MTU=''
NETMASK='255.255.255.0'
NETWORK='192.168.17.0'

however; I'm not sure what all Yast changes, there might be more
files,
and you'd be better off setting the static with yast.

hope this helps.


chsieber23@freemail.com wrote:
> Hello!
>
> I'm working with SuSE 9.3. My WLAN card on eth1 has dhcp enabled.
> How can I give my WLAN card a static IP without using YAST?
>
> Thank you and regards
> Charles



 

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2