Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
01-13-2017, 03:26 PM
|
#16
|
Member
Registered: Aug 2016
Posts: 65
Original Poster
Rep: 
|
Hi TEP
I got a whole long list of packages that were automatically installed and are no longer required:
gstreamer0.10-ffmeg libhal1-flash libunshield0 unshield
Use 'sudo apt auto remove' to remove them.
there is more but I have a question
do I type sudo apt auto remove gstreamer0.10-ffmeg libhal1-flash libunshield0 unshield
?
okay I went ahead and tried and got a long list of commands
|
|
|
01-13-2017, 03:29 PM
|
#17
|
Member
Registered: Aug 2016
Posts: 65
Original Poster
Rep: 
|
Okay I figured out I put in an extra space I corrected and it removed them small yippee
|
|
|
01-13-2017, 03:31 PM
|
#18
|
Member
Registered: Dec 2016
Distribution: arch
Posts: 668
Rep: 
|
Just
Code:
sudo apt-get autoremove
should be sufficient. Then go ahead and and assuming everything works, try
Code:
ping -c 3 www.google.com
. As long as it doesn't say "Network unreachable" or something similar, you should be connected
|
|
|
01-13-2017, 03:37 PM
|
#19
|
Member
Registered: Aug 2016
Posts: 65
Original Poster
Rep: 
|
It suggested dhcpcd-gtk the following new packages will be installed:
dhcpcd5
0 upgraded, 1 newly installed, 0 to remove and 46 not upgraded.
Need to get 149 kb of archive.
after this operation 371 kb of additional disk space will be used.
Err: 1 http:// archive.ubuntu.com/ubuntu xenial/universe amd64 dhspcd5 amd 6.10.1-1
temporary failure resolving 'archive.ubuntu.com'
E: Unable to fetch some archinves, maybe run apt-get update or try with -- fix missing?
Well duh of course I can not update because I can't get online??
|
|
|
01-13-2017, 03:38 PM
|
#20
|
Senior Member
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,950
|
Surely if you can download from an internet repository, your ethernet connection must be fully working?
BTW my PC does not have dhcpcd5 installed and gives
Quote:
Reloading /etc/samba/smb.conf: smbd.
RTNETLINK answers: File exists
/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf
|
I do have a /sbin/dhclient and a horribly complex /sbin/dhclient-script
If the latter was modified, I don't give much for your chances!
Have you tried looking at the configuration of your router using your good machine?
You are normally provided with a web interface to make this easy, but you will need to know the ip address of the router to do this.
BTW What is the make and model of your router?
|
|
|
01-13-2017, 03:41 PM
|
#21
|
Member
Registered: Aug 2016
Posts: 65
Original Poster
Rep: 
|
Actiontec model GT784WN
|
|
|
01-13-2017, 03:44 PM
|
#22
|
Member
Registered: Aug 2016
Posts: 65
Original Poster
Rep: 
|
I tried putting in
sudo dhclient eth0
and it said Cannot find device 'eth0'
|
|
|
01-13-2017, 03:46 PM
|
#23
|
Member
Registered: Dec 2016
Distribution: arch
Posts: 668
Rep: 
|
Quote:
Originally Posted by JeremyBoden
Surely if you can download from an internet repository, your ethernet connection must be fully working?
BTW my PC does not have dhcpcd5 installed and gives
I do have a /sbin/dhclient and a horribly complex /sbin/dhclient-script
If the latter was modified, I don't give much for your chances!
Have you tried looking at the configuration of your router using your good machine?
You are normally provided with a web interface to make this easy, but you will need to know the ip address of the router to do this.
BTW What is the make and model of your router?
|
Ha! I completely missed that! If he can download dhcpcd he must have connectivity XD.
Jeremy, just fyi, Dhclient and dhcpd are different utilities
|
|
|
01-13-2017, 03:48 PM
|
#24
|
Member
Registered: Dec 2016
Distribution: arch
Posts: 668
Rep: 
|
Quote:
Originally Posted by Zupe
I tried putting in
sudo dhclient eth0
and it said Cannot find device 'eth0'
|
Zupe, as I mentioned above dhclient is a separate utility. Please try dhcpcd instead
|
|
|
01-13-2017, 03:51 PM
|
#25
|
Member
Registered: Aug 2016
Posts: 65
Original Poster
Rep: 
|
I put in
sudo dhcpcd eth0
and got sudo: dhcpcd: command not found
Okay so I can call actiontec to get the ip address for the modem/router
Checked paper folder would IP be
http://192.168.0.1
?
Last edited by Zupe; 01-13-2017 at 03:53 PM.
|
|
|
01-13-2017, 03:51 PM
|
#26
|
Senior Member
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,950
|
etho is spelt with a zero...
Look in the router manual.
|
|
|
01-13-2017, 03:56 PM
|
#27
|
Senior Member
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,950
|
http://192.168.0.1 is a very common router address.
From your PC's (both of them) you could try This will test for basic connectivity.
|
|
|
01-13-2017, 03:56 PM
|
#28
|
Member
Registered: Aug 2016
Posts: 65
Original Poster
Rep: 
|
I put in sudo dhcpcd eth0 double checked it was 0 also looking in manual but the first thing it says is open a web browser and type that hhtp://192.268.0.1 but it won't work if I can't connect right?
|
|
|
01-13-2017, 03:59 PM
|
#29
|
Senior Member
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,950
|
Open a web browser such as firefox etc
and type http://192.168.0.1 into the address line.
|
|
|
01-13-2017, 04:02 PM
|
#30
|
Member
Registered: Aug 2016
Posts: 65
Original Poster
Rep: 
|
Okay I put ping 192.168.0.1 and on problem cinnamon I got connect:Network is unreachable
on windows side of dell studio that I am typing on I got
Packet sent = 4 received= 4 packets lost = 0
approximate round trip time milliseconds
minimum = 0ms Maximum = 0ms, Average = 0ms
|
|
|
All times are GMT -5. The time now is 11:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|