LinuxQuestions.org
Help answer threads with 0 replies.
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 11-21-2010, 10:12 AM   #16
Rockstar420
Member
 
Registered: Nov 2010
Distribution: SlackWare 13.1
Posts: 44

Original Poster
Rep: Reputation: 2

Quote:
Originally Posted by sycamorex View Post
Also, make sure you've got the relevant entry in /etc/resolv.conf
For example, the IP address of my router is 192.168.1.1 so I added
the following line to resolv.conf:

Code:
nameserver 192.168.1.1
on top of the editable file or is there a specific place to put that?
 
Old 11-21-2010, 10:33 AM   #17
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by Rockstar420 View Post
on top of the editable file or is there a specific place to put that?
If you can open Konsole/Terminal and type 'su' to get root's permission. Type your root password then. Once you've become root
type:
vim /etc/resolv.conf

and add your router's entry.


Alternatively, you might be better off installing wicd which will provide a GUI interface to your network configuration.
 
Old 11-21-2010, 11:22 AM   #18
Rockstar420
Member
 
Registered: Nov 2010
Distribution: SlackWare 13.1
Posts: 44

Original Poster
Rep: Reputation: 2
but how do i do that with no internet? Thats why i cant try installing slackbuilds cuz i dont have internet and thats why i have to use a dual boot of ubuntu. Thanks for all the help. I will give this a try.
 
Old 11-21-2010, 12:03 PM   #19
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
1. Download the wicd package from your second system
2. copy the file on to slackware
3. Boot into slackware, opent the terminal and become root
4. Navigate to the directory where you saved the wicd... package.
5. Type installpkg wicd*
6. Type 'wicd' (still being root)
7. Type 'exit' to exit the root account.
8. Type 'wicd-client'
9. The wicd icon should appear in the panel.
 
Old 11-21-2010, 12:19 PM   #20
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Have we not established that the problem is failure to get a DHCP lease? So no amount of tweaking DNS settings or installing wicked network configuration tools is going to fix it. We know the network is OK because it works for ubuntu. How about we find out what the network configuration is on ubuntu and configure Slackware the same way?

@Rockstar420: please post the output of these commands on ubuntu
Code:
cat /etc/network/interfaces
cat /etc/resolv.conf
ifconfig
 
Old 11-21-2010, 12:56 PM   #21
Rockstar420
Member
 
Registered: Nov 2010
Distribution: SlackWare 13.1
Posts: 44

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by catkin View Post
Have we not established that the problem is failure to get a DHCP lease? So no amount of tweaking DNS settings or installing wicked network configuration tools is going to fix it. We know the network is OK because it works for ubuntu. How about we find out what the network configuration is on ubuntu and configure Slackware the same way?

@Rockstar420: please post the output of these commands on ubuntu
Code:
cat /etc/network/interfaces
cat /etc/resolv.conf
ifconfig
tried those commands and says no command exists or something along that lines of its not there. And yes i have checked the ip settings on ubuntu and it goes like this
ipv4:192.168.1.101
netmask:255.255.255.0

is there a way i could get those numbers into SlackWare config for INTERNET so i can connect and get slacking
 
Old 11-21-2010, 12:58 PM   #22
Rockstar420
Member
 
Registered: Nov 2010
Distribution: SlackWare 13.1
Posts: 44

Original Poster
Rep: Reputation: 2
Must make a note the first time i installed slackware on this machine network worked seamlessly then i moved to kubuntu cuz i couldn't get the software installed but i dislike kubuntu because of it is too much like a grandma helping on everything you do when your younger but i want to do something hard like slackware
 
Old 11-21-2010, 01:08 PM   #23
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by Rockstar420 View Post
tried those commands and says no command exists or something along that lines of its not there.
This is really not good enough. Can you paste your commands and the errors you get?
 
Old 11-21-2010, 01:18 PM   #24
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, if you have a router you're possibly using DHCP and should get an IP-adress automatically. Please execute
Code:
dhcpcd eth0
and post the output here.

Markus
 
Old 11-21-2010, 01:21 PM   #25
Rockstar420
Member
 
Registered: Nov 2010
Distribution: SlackWare 13.1
Posts: 44

Original Poster
Rep: Reputation: 2
this is what i got from ubuntu terminal
cat /etc/network/interfaces>>>>>>
auto lo
iface lo inet loopback

cat /etc/resolv.conf>>>
# Generated by NetworkManager
nameserver 65.41.112.28
nameserver 71.0.1.211

ifconfig>>>>
eth0 Link encap:Ethernet HWaddr 00:4c:69:6e:75:59
inet6 addr: fe80::24c:69ff:fe6e:7559/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:22 Base address:0x9800

eth1 Link encap:Ethernet HWaddr 00:11:11:23:66:8d
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:11ff:fe23:668d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:148991 errors:0 dropped:0 overruns:0 frame:0
TX packets:91574 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:222634331 (222.6 MB) TX bytes:6766358 (6.7 MB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:84 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10192 (10.1 KB) TX bytes:10192 (10.1 KB)
 
Old 11-21-2010, 01:26 PM   #26
Rockstar420
Member
 
Registered: Nov 2010
Distribution: SlackWare 13.1
Posts: 44

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by markush View Post
Well, if you have a router you're possibly using DHCP and should get an IP-adress automatically. Please execute
Code:
dhcpcd eth0
and post the output here.

Markus

Tried this on Ubuntu for fun and got this>
The program 'dhcpcd' is currently not installed. You can install it by typing:
sudo apt-get install dhcpcd


I am going to try it on slackware
 
Old 11-21-2010, 01:29 PM   #27
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
But with Slackware dhcpcd is installed (provided you did a full install). dhcpcd is the DHCP-client service, this service gets the IP-configuration from the DHCP server (which in most cases is your router).

Markus
 
Old 11-21-2010, 01:33 PM   #28
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by Rockstar420 View Post
Tried this on Ubuntu for fun and got this>
The program 'dhcpcd' is currently not installed. You can install it by typing:
sudo apt-get install dhcpcd


I am going to try it on slackware
Looking at the output you provided, you might want to try it with eth1.
 
Old 11-21-2010, 01:39 PM   #29
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Looking at the output you provided, you might want to try it with eth1.
I did mention this in my first post to you which you appear to have ignored or missed.
 
Old 11-21-2010, 01:43 PM   #30
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
but in the 10th post of this thread there was eth0 with Slackware the interface with the APIPA-adress.
I suggest to at first look at the output of ifconfig and then trying dhcpcd with the apropriate interface.

Markus
 
  


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
=( cant get internet in Slackware!!!! joel_quiles Slackware 20 04-18-2007 06:17 PM
No internet in slackware. WayneS Linux - Newbie 3 09-02-2006 09:57 PM
Slackware 10.1 and internet Anak1n Linux - Wireless Networking 1 01-16-2006 06:41 PM
HELP with Internet On Slackware 10.0 thomasplock Linux - Hardware 7 10-01-2004 07:16 PM
no internet in slackware 9.1.. tehnick Linux - Networking 1 05-10-2004 05:58 PM

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

All times are GMT -5. The time now is 12:06 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
Open Source Consulting | Domain Registration