LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 01-08-2015, 04:27 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 739

Rep: Reputation: 46
Cannot connect to wired network


Just installed Salix64 14.1.

I have my desktop hard wired to my Comcast router/modem. I want a static connection. For DNS, I always use Comcast servers 75.75.75.75 and 75.75.76.76; I think.

My internal IP, for the router is 192.168.1.1, I am trying to set up the system with a static IP of 192.168.1.109.

Before I installed Salix, I had CentOS 7 installed. CentOS 7 had no problem finding the network.

I only have one connection, that is my eth0 port. I have no wireless.

I did an

# ifconfig 192.168.1.109 netmask 255.255.255.0 eth0

and

# route add default gw 192.168.1.1

I am able to ping local network but not yahoo.com.

Also, I do not have an /etc/sysconfig directory.

Last edited by walterbyrd; 01-08-2015 at 04:50 PM.
 
Old 01-08-2015, 04:45 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,380

Rep: Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937
Slackware has a script called netconfig. Did you run that as root during installation? If not, give it a try, you should be able to configure eth0 with it.

The other way is to edit /etc/rc.d/rc.inet1.conf and add what you need in there for eth0.

BTW, I run Slackware 14.1; I'm guessing Salix is very close to the same, at least as far as using scripts, and configuration.

Hope this helps.
 
Old 01-08-2015, 05:14 PM   #3
walterbyrd
Member
 
Registered: Apr 2004
Posts: 739

Original Poster
Rep: Reputation: 46
Thank you, I did not know about netconfig.

I did manage to get the network set up, all command line. Been a long time since I did that.

# ifconfig 192.168.1.109 netmask 255.255.255.0 eth0
# route add default gw 192.168.1.1
# vi resolv.conf

set nameservers to 8.8.8.8 and 8.8.4.4
 
  


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
Ubuntu 13.10 cannot connect to wired network anthonymaw Linux - Networking 2 12-18-2013 07:47 AM
Suddenly can't connect to wired network jakeopolis Linux - Networking 1 07-12-2013 09:08 AM
[SOLVED] wired network will not connect pandanuma Linux - Networking 13 05-16-2012 08:39 PM
Trying to connect to a Windows Computer Via a wired network Mickhumb Linux - Networking 1 02-15-2011 08:58 AM
Can't connect to wired network Randy Jackson Linux - Wireless Networking 4 01-17-2007 04:42 PM

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

All times are GMT -5. The time now is 08:38 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