[SOLVED] Newbie needs advice to set network connection
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
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.
I connect wirelessly to a Lan, using a Linksys wifi card in my desktop.
Which of the 3 options for network connection should I choose, fixed ip address or DHCS? or loopconfig. None of them seem to relate to my situation.
Preferably, can this be done without having to redo the install?
I tried the first option, fixed ip address, because it specifies having a network card, but had no clue about the various addresses asked for so just took the default options. When I tried to connect Konqueror returned this error message
Quote:
The requested operation could not be completed
Unknown Host
Details of the Request:
URL: http://www.google.com
Protocol: http
Date and Time: Wednesday 16 March 2011 14:31
Additional Information: www.google.com
Which distribution are you using?
What do you use to connect, networkmanager, wicd....
It depends on how the router is configured.
If the router gives out IP's (set to DHCP) you should use DHCP.
If not, use fixed IP.
Bear in mind, if you use fixed IP, you need to use the same subnet as your router.
If the router has IP
Code:
192.168.0.1
you need to give the IP
Code:
192.168.0.x
to the computer, and use the ip from the router as default Gateway.
Also, don't forget to give the DNS servers.
What do you use to connect, networkmanager, wicd....
I startx, Konqueror, and entered google.com as the address
Quote:
Originally Posted by repo
If the router gives out IP's (set to DHCP) you should use DHCP.
If not, use fixed IP.
Bear in mind, if you use fixed IP, you need to use the same subnet as your router.
If the router has IP
Code:
192.168.0.1
you need to give the IP
Code:
192.168.0.x
to the computer, and use the ip from the router as default Gateway.
Also, don't forget to give the DNS servers.
Kind regards
I tried above both ways, both produced the same error as before. I have to provide a password to connect to this LAN, and neither of these two options gives an opportunity to do so.
Also, I do not know how to obtain the requisite data from my linux machine, so I used the following which I got from the wifi card on my windows machine.
Code:
DNS server 192.168.0.1
IP Address 192.168.0.10
Subnet Mask 255.255.255.0
Default Gateway 192.168.0.1
DHCP Server 192.168.0.1
Primary WINS Server 0.0.0.0
Secondary WINS Server 0.0.0.0
So the IP address, 192.168.0.10, may be wrong (I assumed the x you quoted needed to be replaced by an actual number).
with slackware you can either configure your network manually, by editing /etc/rc.d/rc.inet1.conf or you can use wicd. The wicd slackware package can be found in the /extra directory of your local slackware mirror.
After it is installed, once you startx, you will see an icon in the panel of two displays close together... when you click on this, it scans wifi and tells you about available networks; once it finds your network, you can select the properties for that network before you connect to it, and there you will be able to enter the password to connect to an encrypted network, and to specify the type of encryption... Then you just close the properties window, and click connect. Once connected, the wicd icon in the panel also begins displaying the signal strength of the connection, and if you mouse over the icon, the status of the connection, including ip address is displayed. Wicd also has an advanced section where you can specify static ip address if not using dhcp.
with slackware you can either configure your network manually, by editing /etc/rc.d/rc.inet1.conf or you can use wicd. The wicd slackware package can be found in the /extra directory of your local slackware mirror.
After it is installed, once you startx, you will see an icon in the panel of two displays close together... when you click on this, it scans wifi and tells you about available networks; once it finds your network, you can select the properties for that network before you connect to it, and there you will be able to enter the password to connect to an encrypted network, and to specify the type of encryption... Then you just close the properties window, and click connect. Once connected, the wicd icon in the panel also begins displaying the signal strength of the connection, and if you mouse over the icon, the status of the connection, including ip address is displayed. Wicd also has an advanced section where you can specify static ip address if not using dhcp.
good luck and have fun learning slackware
Thank you very much. I spent several hours over the last 3 days trying to edit rc.inet1.conf manually, without success, because I had no idea what to enter for various parameters. With wicd all I had to do was enter the password; what a difference!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.