Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-21-2014, 10:32 AM
|
#1
|
Member
Registered: Mar 2009
Posts: 48
Rep:
|
amule and static ip
Every time a restart Slackware I get assigned a new IP address and this gives me a low id. In windows I have a program to set my ip as static. How can I do that with Slackware?
|
|
|
06-21-2014, 11:05 AM
|
#2
|
Member
Registered: May 2011
Distribution: Slackware64/current
Posts: 175
Rep:
|
run netconfig as root and set a static ip.
|
|
|
06-21-2014, 06:05 PM
|
#3
|
Member
Registered: Mar 2009
Posts: 48
Original Poster
Rep:
|
Quote:
Originally Posted by slacktroll
run netconfig as root and set a static ip.
|
I forgot to mention my connection is wireless. Does that matter?
|
|
|
06-21-2014, 07:02 PM
|
#4
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,647
|
yes it matters
call your isp and buy a static address
|
|
|
06-21-2014, 07:57 PM
|
#5
|
Member
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309
Rep:
|
If you are talking about ip address from the router to wireless connection, static will work fine.
|
|
|
06-22-2014, 10:30 AM
|
#6
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,961
|
Member Response
Hi,
Quote:
Originally Posted by Quicken2k
Every time a restart Slackware I get assigned a new IP address and this gives me a low id. In windows I have a program to set my ip as static. How can I do that with Slackware?
|
For a wireless Static IP you can edit '/etc/rc.d/rc.inet1.conf' for your wireless chipset/card/adapter;
Quote:
Stanza introduction from '/etc/rc.d/rc.inet1.conf';
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.
# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.
|
Code:
## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
#09-18-12:16:00 gws
IFNAME[4]="wlan0"
IPADDR[4]="192.168.1.14"
NETMASK[4]="255.255.255.0"
#USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#
#WLAN_ESSID[4]=linksys_family
WLAN_ESSID[4]=linksys2
WLAN_MODE[4]=Managed
##
WLAN_RATE[4]="54M auto"
##
WLAN_CHANNEL[4]="auto"
##
#
#My key 09-19-12:13:31
#
WLAN_KEY[4]="insert your key here"
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK="insert here'
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"
## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0" # Use a different interface name nstead of
# the default 'eth4'
#HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[4]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR[4]="" # Request a specific IP address from the DHCP
# server
#WLAN_ESSID[4]=DARKSTAR # Here, you can override _any_ parameter
# defined in rc.wireless.conf, by prepending
# 'WLAN_' to the parameter's name. Useful for
# those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=thekey"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (separated w
Look at: docs.slackware.com wireless Configure your Network section.
Hope this helps.
Have fun!
|
|
|
06-22-2014, 01:22 PM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,647
|
Just be very careful what you DL using amule
most of the servers are controlled by LEO
and lock your "server.met" file
a corrupted server can add servers to the list
servers controlled by leo or "bad guys"
|
|
|
All times are GMT -5. The time now is 03:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|