LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-02-2013, 04:15 PM   #1
suicidalginger
LQ Newbie
 
Registered: Dec 2013
Location: Canada
Distribution: Slackware 14.1 and openSUSE 13.1
Posts: 5

Rep: Reputation: Disabled
Slackware network configuration


I just switched to slackware from openSUSE today (I switched because I wanted to learn more about the inner workings of linux).

I've run into a problem I can't get internet. Ive tried running the command netconfig and I went throughout the question process but to no avail. I tried the network manager but it wasn't helpful.

So my question is how do I configure my internet connection? I should mention I'm using ethernet.

thanks in advance
 
Old 12-02-2013, 04:23 PM   #2
naitso
LQ Newbie
 
Registered: Aug 2010
Posts: 14

Rep: Reputation: 2
Slackware network configuration

hi, take a look at slackware documentation:
http://www.slackware.com/config/network.php

if you use wicd or network manager do not modify rc.inet1 (with your settings) because the programs do it for you. yrw
 
Old 12-02-2013, 04:34 PM   #3
arsivci0
Member
 
Registered: Nov 2013
Location: Antalya
Distribution: Slackware64 current
Posts: 119

Rep: Reputation: 23
It is rare to see an ethernet connection failing but there is no need to be suicidal. Are you sure you select "let Network Manager handle..." (I forgot the exact words) when you ran netconfig? If you did, and it is still not working try to post some details like what it says if you run "ifconfig -a" (as root, w/o the quotes).
 
Old 12-02-2013, 05:20 PM   #4
suicidalginger
LQ Newbie
 
Registered: Dec 2013
Location: Canada
Distribution: Slackware 14.1 and openSUSE 13.1
Posts: 5

Original Poster
Rep: Reputation: Disabled
arsivci0

Here is a pic of what happens when I run ifconfig as root.

http://i.imgur.com/Upzt033.png
 
Old 12-02-2013, 05:23 PM   #5
suicidalginger
LQ Newbie
 
Registered: Dec 2013
Location: Canada
Distribution: Slackware 14.1 and openSUSE 13.1
Posts: 5

Original Poster
Rep: Reputation: Disabled
naitso

I took a look at the documentation and still wasn't helpful.

When I go through the questions it says its changed my network setting but I still have no connection.
 
Old 12-02-2013, 05:29 PM   #6
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
First of all, check the link status of the NIC. The statistics listed by ifconfig indicates that not a single packet has been either sent or received, and the latter is particularly unusual for an active interface. Se what ethtool eth0 has to say.

You should also run ifconfig -a to see if more than one NIC has been detected. Perhaps the active link (if one exists) is in fact eth1.
 
Old 12-02-2013, 06:55 PM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
The output from ifconfig shows that your network card is being identified, but there is no IP address assigned. Are you using static addressing or should your computer get an IP address by DHCP?
 
Old 12-02-2013, 07:07 PM   #8
natharran
Member
 
Registered: Jul 2012
Location: Czech Republic
Distribution: Slackware64 14.1
Posts: 34

Rep: Reputation: Disabled
Quote:
Originally Posted by suicidalginger View Post
Ive tried running the command netconfig and I went throughout the question process but to no avail. I tried the network manager but it wasn't helpful.
Hi,

I'm not really an expert in this so this may not be of any help to you but the following has always worked for me so far:

1) after you reconfigure your system via netconfig, restart networking via
Code:
/etc/rc.d/rc.inet1 restart
in order to get IP (if you use DHCP) and have everything set properly

2) although I've never had this problem with any of the previous versions of Slackware I found that in 14.1 I can't have inet1 and networkmanager services running together because if I do I lose my connection immediately.
Code:
/etc/rc.d/inet1 stop
chmod -x /etc/rc.d/rc.inet1
chmod +x /etc/rc.d/rc.networkmanager
/etc/rc.d/rc.networkmanager start
did the trick.

Last edited by natharran; 12-02-2013 at 07:17 PM. Reason: corrected some mistakes
 
Old 12-02-2013, 09:41 PM   #9
suicidalginger
LQ Newbie
 
Registered: Dec 2013
Location: Canada
Distribution: Slackware 14.1 and openSUSE 13.1
Posts: 5

Original Poster
Rep: Reputation: Disabled
I just got back from mma practice and it appears to have fixed itself. Thanks for the advice though I will reffer to this if I have any other problems with my network.
 
  


Reply



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
slackware network configuration chymeira Linux - Hardware 3 09-03-2010 11:46 PM
Linux slackware network configuration santu14321 Linux - Networking 1 02-10-2009 05:58 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
Slackware network configuration-plz help Rommeo Slackware 20 01-07-2006 11:51 AM
Network configuration with DHCP in Slackware 10 kernelvn Slackware 1 08-18-2004 05:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:25 AM.

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
Open Source Consulting | Domain Registration