LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-14-2012, 09:22 AM   #1
rng
Member
 
Registered: Aug 2011
Posts: 747

Rep: Reputation: 23
Connect to network in slackware


My computer is connected to a wired ADSL modem through which most linux distros connect automatically (?using dhcp). However, slackware-13 is not connecting (I did not configure network during installation). Now on running 'netconfig' command, I am asked about host-name and domain-name etc. Can slackware automatically connect to internet using dhcp etc?

Thanks in advance.
 
Old 03-14-2012, 09:37 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,619

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
Yes, have a look on /etc/rc.d/rc.inet1.conf
you can set USE_DHCP="yes" on the ethernet interface

you can also use wicd in extra/ to set up your network configuration
 
Old 03-14-2012, 10:29 AM   #3
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,386

Rep: Reputation: 186Reputation: 186
When you run netconfig, the host name you can just make up like "mypc" unless your part of a network where somebody makes that decision, as for the domain name I usually set it to what my router is using, but I think you can just leave them blank and just hit enter, which I think then will default to Darkstar as the host name. Then I think netconfig will give you the option to use dhcp.
 
Old 03-14-2012, 11:12 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,446
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Member response

Hi,

Quote:
Originally Posted by rng View Post
My computer is connected to a wired ADSL modem through which most linux distros connect automatically (?using dhcp). However, slackware-13 is not connecting (I did not configure network during installation). Now on running 'netconfig' command, I am asked about host-name and domain-name etc. Can slackware automatically connect to internet using dhcp etc?

Thanks in advance.
Look at: Configuring your network in Slackware which is Alien_Bob's excellent article on the way network cards are configured in Slackware. Loads of internal reference links for Ethernet & Wireless.
 
Old 03-14-2012, 12:33 PM   #5
rng
Member
 
Registered: Aug 2011
Posts: 747

Original Poster
Rep: Reputation: 23
Quote:
as for the domain name I usually set it to what my router is using, but I think you can just leave them blank and just hit enter
It is not accepting blank domain name - it is not proceeding further.
 
Old 03-14-2012, 01:43 PM   #6
rng
Member
 
Registered: Aug 2011
Posts: 747

Original Poster
Rep: Reputation: 23
Quote:
Yes, have a look on /etc/rc.d/rc.inet1.conf
you can set USE_DHCP="yes" on the ethernet interface
Thanks. This worked. I just had to put a "yes" there. But I wonder why this "yes" is not kept as default. It is likely to be the needed setting for most desktops.
 
Old 03-14-2012, 04:12 PM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I've found wicd to be the best solution. The important part is that it can auto-connect after the connection drops. It also works great if you also have wifi along with ethernet.
 
Old 03-16-2012, 09:13 PM   #8
rng
Member
 
Registered: Aug 2011
Posts: 747

Original Poster
Rep: Reputation: 23
For no apparent reason I have lost network connectivity in slackware (it works all right in other distro). And wicd is not in slackbuilds.org (for ver 13.0). I am downloading tar.gz from its site and trying to install it.

Edit:
-----
Network connection started with 3rd reboot. Wicd will not install since it needs gtk+ ver 2.16 (installed is 2.14). Dependency problem.

Last edited by rng; 03-16-2012 at 09:28 PM.
 
Old 03-16-2012, 10:18 PM   #9
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
Only have a wired connection, so I've just used wicd briefly.
It's in the "extra" directory of your install disk. For Slackware 13.0 32-bit you can find it here:
http://slackware.osuosl.org/slackware-13.0/extra/

edit: Actually, you should check the "patches" directory to see if wicd was updated after release.
(There is no update for wicd in 13.0 at this time)

Last edited by wadsworth; 03-16-2012 at 10:24 PM.
 
Old 03-17-2012, 06:06 AM   #10
rng
Member
 
Registered: Aug 2011
Posts: 747

Original Poster
Rep: Reputation: 23
Thanks for the link. I have been able to install wicd from there. I wonder why it is not in the slackbuilds.org
 
Old 03-17-2012, 07:41 AM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,619

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
because it's included in the DVD on extra/
 
Old 03-17-2012, 12:02 PM   #12
rng
Member
 
Registered: Aug 2011
Posts: 747

Original Poster
Rep: Reputation: 23
I am still not clear why if a program is on DVD, it should not be on the website slackbuilds.org?
 
Old 03-17-2012, 07:03 PM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,379

Rep: Reputation: Disabled
Quote:
Originally Posted by rng View Post
I am still not clear why if a program is on DVD, it should not be on the website slackbuilds.org?
If a package is part of Slackware, it will not be accepted at http://slackbuilds.org/ . The slackbuilds.org web site hosts third-party SlackBuild scripts - it is a community effort.
See http://slackbuilds.org/faq/#affiliation

Eric
 
Old 03-17-2012, 09:20 PM   #14
rng
Member
 
Registered: Aug 2011
Posts: 747

Original Poster
Rep: Reputation: 23
Thanks for the information.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Intel 4965 AGN Slackware 13.37 Can't connect to WPA2 encrypted network jyoung Linux - Wireless Networking 3 02-13-2012 01:06 PM
Can't connect to network-Sony Vaio PCG 3A4L laptop. (Slackware 13.37) TomKo Linux - Wireless Networking 16 06-10-2011 10:10 AM
Network: Able to connect to encrypted, but unable to connect to open. WalterGL Linux - Newbie 1 09-16-2009 05:17 PM
Connect to shared network printer on WinXP machine for all users (Slackware) a1flecke Linux - Newbie 12 05-03-2004 08:27 PM
Slackware Network Startup can't connect... newbie007 Linux - Newbie 1 03-19-2004 01:21 AM


All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration