LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 10-09-2019, 04:08 PM   #16
hddfsck
Member
 
Registered: Aug 2019
Distribution: Debian; Ubuntu
Posts: 122

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by pan64 View Post
you have no ip address at all

Someone may have gotten into my firewall - I can not log into it with the correct username and password.

When I check my ip address at iplocation.net, I always have a foreign ip, as it should be (I use TOR).

I think the ip is not showing b/c almost everything is configured through the firewall.

Last edited by hddfsck; 10-10-2019 at 09:10 AM.
 
Old 10-10-2019, 09:10 AM   #17
hddfsck
Member
 
Registered: Aug 2019
Distribution: Debian; Ubuntu
Posts: 122

Original Poster
Rep: Reputation: Disabled
...
 
Old 10-10-2019, 10:02 AM   #18
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 15,337

Rep: Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033
Quote:
Originally Posted by hddfsck View Post
I think the ip is not showing b/c almost everything is configured through the firewall.
I do not know how can it be related (ifconfig runs locally, how could be the ip taken out from the response)?

But anyway, if your host has no ip, the ping cannot be successful (100% packet loss).

From the other hand please do not bump the thread, post only if you have some additional information.
 
Old 10-10-2019, 01:30 PM   #19
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 15,514
Blog Entries: 9

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
Quote:
Originally Posted by Shadow_7 View Post
$ ip link show
$ ip addr show
$ ip route show
Quote:
Originally Posted by hddfsck View Post
Code:
sudo ip link show
sudo ip addr show
sudo ip route show
Clarification: the '$' prompt means user ID > 0 (not root).
Prepending every command with sudo is not required, not desirable and not recommendable.
 
Old 10-10-2019, 10:17 PM   #20
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,104
Blog Entries: 1

Rep: Reputation: 868Reputation: 868Reputation: 868Reputation: 868Reputation: 868Reputation: 868Reputation: 868
You don't need root to show network details in linux. But you do need root to "change" network details in linux. All of which is moot if you have "no" details in linux.

Networking requires a few things. A) you have an interface and it works B) you have an IP assigned to that interface C) you have a ROUTE assigned to that interface D) you have DNS (/etc/resolv.conf) setup so it can use NAMES instead of IPs to do it's thing. Most of which is handled by dhcpcd or dhclient when you connect to a DHCP network. But if you do it manually, it's a bit more "involved".
 
Old 10-10-2019, 10:23 PM   #21
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,040

Rep: Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409Reputation: 1409
Quote:
Originally Posted by Samsonite2010 View Post
Actually in Debian 10, you do need sudo for ifconfig. Without it, it says it does not exist.
You do not need to be root to run ifconfig, you just need it to be in your path.

Evo2.
 
  


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
LXer: Debian 11 "Bullseye" and Debian 12 "Bookworm" Are Coming After Debian 10 "Buster" LXer Syndicated Linux News 0 04-18-2018 12:26 PM
KeePassX - server failed the authenticity check aikempshall Slackware 5 12-29-2017 09:32 AM
[SOLVED] How can I disable the authenticity check when ssh'ing to a server for the first time? abefroman Linux - Server 2 10-04-2013 04:16 PM
Using nginx + thin giving Invalid form authenticity token error deoren Linux - Server 0 11-12-2010 07:00 PM
Is there a way to prevent this message:The authenticity of host can't be established. abefroman Linux - Server 8 11-27-2009 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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