I have screwed up my network server.

Asked by John Frank Fortun

I need to know how to reset the default network set up on my Lubuntu 18-04 LTS without losing every thing else I have just set up. Is there an easier way than reloading from my original boot disc?
NB I appear not to have set up Sudo yet nor Samba. because I have yet to get that far!!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Can you outline what you have tried to do, and which commands you tried to use?
Which kind of network do you intend to use - cable, WLAN, GSM modem, ... ?

For diagnostic purposes please copy/paste the output that you receive for the following commands (to be executed in a terminal window):

uname -a
lsb_release -crid
sudo lshw -C network
nmcli -t device show

Revision history for this message
John Frank Fortun (johnu) said :
#2

Hi Manfred,

_Outline of Steps Taken** _

    _Attempted Three tasks Using "Network Connections" (2 elements) and
    "Network Settings"(to Add Domain name WORKGROUP)
    _

        /First/ - Attempted to Network my Workbook with my Win10/64 PC

            Edit Connection Name: MERCURY_802 1

        /Second/ - Attempted to use the Ethernet Connection for the
        First time.

            Edit Connection Name: Wired connection 1

        /Third/ - Attempted to set up and save the Domain Name.

*_Intended kind of Network_*

    WLAN and LAN

*_Output from Terminal_*

/uname -a / Linux john-N250P 5.4.0-47-generic #51-18.04.1-Ubuntu SMP Sat Sep 5 14:34:00 UTC 2020 i686 i686 GNU/Linux

/lsb_release -crid /Distributor ID: Ubuntu
   Description: Ubuntu 18.04.5 LTS
   Release: 18.04
   Codename: bionic

/sudo lshw -C network /sudo: Lshw: command not found

/nmcli -t device show /GENERAL.DEVICE:enp9so
   GENERAL.TYPE:ethernet
   GENERAL.HWADDR: E8:11:32:2B:F5:47
   GENERAL:MTU:1500
   GENERAL:STATE:10 (unmanaged)
   GENERAL:CONNECTION:
   GENERAL:CON-PATH:
   WIRED-PROPERTIES,CARRIER:off
   IP4.GATEWAY:
   IP6.GATEWAY:

   GENERAL.DEVICE:lo
   GENERAL.TYPE: loopback
   GENERAL.HWADDR:00:00:00:00:00:00
   GENERAL.MTU:65536
   GENERAL.STATE:10 (unmanaged)
   GENERAL:CONNECTION:
   GENERAL:CON-PATH:
   IP4.ADDRESS[1]:127.0.0.1/8
   IP4.GATEWAY:
   IP6.ADDRESS[1]:::1/128
      IP6.GATEWAY:
   IP6.ROUTE[1]:dst = ::1/128, nh = ::, mt = 256

   GENERAL.DEVICE:wlp5s0
     GENERAL.TYPE:wifi
     GENERAL.HWADDR: EC:55:F9:16:4C:D4
     GENERAL:MTU:1500
   GENERAL:STATE:10 (unmanaged)
     GENERAL:CONNECTION:
   GENERAL:CON-PATH:
     IP4.GATEWAY:
   IP6.GATEWAY:

Regards, John

__

--
This email has been checked for viruses by AVG.
https://www.avg.com

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

"sudo lshw -C network /sudo: Lshw: command not found"
it should be a small l, please try again

sudo lshw -C network

Who is supposed to define the IP adress of your server? Another DHCP server, or is it given a fixed address, or ...?

Revision history for this message
John Frank Fortun (johnu) said :
#4

Hi Manfred,

Sorry about the mis-type!

/The corrected response is as follows/

    *-network DISABLED

        description: Wireless interface

        product: AR9285 Wireless Network Adapter (PCI-Express)

        vendor: Qualcomm Atheros

        physical id: 0

        logical name: wlp5s0

        version: 01

        serial: ec:55:f9:16:4c:d4

        width: 64 bits

        clock: 33MHz

        capabilities: pm msi pciexpress bus_master cap_list ethernet
        physical wireless

        configuration: broadcast=yes driver=ath9k
        driverversion=5.4.0-47-generic firmware=N/A latency=0 link=no
        multicast=yes wireless=IEEE 802.11

        resources: irq:16 memory:f0100000 - f010ffff

    *-network DISABLED

        description: Ethernet interface

        product: 88E8040 PCI-E Fast Ethernet Controller

        vendor: Marvell technology Group Ltd.

        physical id: 0

        bus info: pci@0000:09:00.0

        logical name: enp9s0

        version: 00

        serial: e8:11:32:2b:f5:47

        capacity: 100Mbit/s

        width: 64 bits

        clock: 33MHz

        capabilities: pm msi pciexpress bus_master cap_list ethernet
        physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation

        configuration: autonegotiation=on broadcast=yes driver=sky2
        driverversion=1.3 latency=0 link=no multicast=yes port=twisted pair

        resources: irq:28 memory: f0200000 - f0203fff ioport:2000(size=256)

Server???????? . However, I have attached a copy of my Router Settings,
which may help fill in the blanks? When I loaded and setup Lubuntu, the
Ubuntu script did it all, my role was limited to simply locate my WIFI
network and provide the Password!! As far as I can tell, the Router
sorts it out??

Regards, John

On 14/09/2020 15:11, Manfred Hampl wrote:
> Your question #692881 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/692881
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> "sudo lshw -C network /sudo: Lshw: command not found"
> it should be a small l, please try again
>
> sudo lshw -C network
>
> Who is supposed to define the IP adress of your server? Another DHCP
> server, or is it given a fixed address, or ...?
>

--
This email has been checked for viruses by AVG.
https://www.avg.com

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Replying to the automated email and attaching a file doesn't work

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

What application are you using to configure networking on the system?

Revision history for this message
John Frank Fortun (johnu) said :
#7

Thank you for the clarification,

Re: - Who is supposed to define the IP adress of your server? Another DHCP
server, or is it given a fixed address, or ...?

Answer:- Server???????? . However, I have detailed below my Router Settings,
which may help fill in the blanks? When I loaded and setup Lubuntu, the
Ubuntu script did it all, my role was limited to simply locate my WIFI
network and provide the Password!! As far as I can tell, the Router
sorts it out??

 *_WAN (Wide Area Net)_*

 IP Address 192.168.1.3

 Gateway 192.168.1.1 /Anonymous Host !!/

 Subnet mask 255.255.255.0

 DNS Server 192.168.1.1,0.0.0.0

 Host Name MW310R /The Router/

 Packet MTU (byte) 1500

 *_LAN port settings_*
 /Automatic/

 MAC address 1C-60-DE-FB-AE-70

 IP Address 192.168.0.1

 Subnet mask 255.255.255.0

 *_MAC address settings_*

*Selected* Mac address using router: 1C-60-DE-FB-AE-71.

/Not Used/ /Use the MAC address (MAC address clone) of the currently
managed PC:/

 *_DHCP server._*

 Address pool start address. 192.168.0.100

 The end address of the address pool. 192.168.0.199

 *_DHCP device._* *IP* *MAC*
John PC DESKTOP-4RTSRIK 192.168.0.104 E0-D5-5E-B2-26-2B
John Phone JKM-AL00b-6cc99e50af78423 192.168.0.101 34-2E-B6-F5-9C-11
Yu Zhi Phone MI8SE-xiaomishouji 192.168.0.100 48-2C-A0-4E-19-4A
Router MW310R LAN 192.168.0.102 1C-A7-70-F9-63-EB
TV Top Box MagicBox_M16C-6a3891e7... 192.168.0.103 8C-6D-50-41-75-6D

 *_IP and MAC mapping tables._*

 Host *IP* *MAC* *State*

 匿名主机 (Anonymous Host) 192.168.1.1 1C-59-9B-5A-E6-59 Unbound.

 DESKTOP-4RTSRIK 192.168.0.104 E0-D5-5E-B2-26-2B Unbound.

 JKM-AL00b-6cc99e50af78423 192.168.0.101 34-2E-B6-F5-9C-11 Unbound.

 MI8SE-xiaomishouji 192.168.0.100 48-2C-A0-4E-19-4A Unbound.

Regards, John

On 14/09/2020 19:35, actionparsnip wrote:
> Your question #692881 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/692881
>
> actionparsnip posted a new comment:
> Replying to the automated email and attaching a file doesn't work
>

--
This email has been checked for viruses by AVG.
https://www.avg.com

Revision history for this message
John Frank Fortun (johnu) said :
#8

Question - What application are you using to configure networking on the system?

Previous Answer - Attempted Three tasks Using "Network Connections" (2 elements) and
     "Network Settings"(to Add Domain name WORKGROUP)

"Network Connections" and "Network Settings" are the two applications that are included in "Lubuntu" by default.
They were preset during the Installation process and the connection to the internet was operating correctly until....

Once I tried to figure out how to change the settings within these "APPS", and attempted to invoke Firefox or Sylfeed, I received an error notice "...unable to connect to the Server".

In hindsight I should have noted the default settings within these two apps before I started to "dabble"..

John

On 14/09/2020 19:35, actionparsnip wrote:
> Your question #692881 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/692881
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> c
>

--
This email has been checked for viruses by AVG.
https://www.avg.com

Revision history for this message
John Frank Fortun (johnu) said :
#9

To - actionparsnip

Your question #692881 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/692881

You gave more information on the question:
Question - What application are you using to configure networking on the
system?

Previous Answer - Attempted Three tasks Using "Network Connections" (2
elements) and
"Network Settings"(to Add Domain name WORKGROUP)

"Network Connections" and "Network Settings" are the two applications
that are included in "Lubuntu" by default.
They were preset during the Installation process and the connection to
the internet was operating correctly until....

Once I tried to figure out how to change the settings within these
"APPS", and attempted to invoke Firefox or Sylfeed, I received an error
notice "...unable to connect to the Server".

In hindsight I should have noted the default settings within these two
apps before I started to "dabble"..

John

On 14/09/2020 19:35, actionparsnip wrote:
> Your question #692881 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/692881
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> c
>

--
This email has been checked for viruses by AVG.
https://www.avg.com

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

I am sorry, but I have problems interpreting your information.

The question title tells "I have screwed up my network server"
In one of the recent answers you write "Server????????" which looks to me as if you do not understand which server I was asking about.

Please give a short sketch of your desired network layout.

I understand that there is a router, connected to the public Internet. How do the computers connetct to it, via cable or WLAN?
How many additional computers are there? What is their function? Is one of them designed to be a server for other ones? If yes, serving what - files, printing, or acting as a WLAN router, or ...?

If we do not know what you want to achieve, we can hardly tell what to do to achieve that.

Revision history for this message
John Frank Fortun (johnu) said :
#11

Please accept my apologies for the confusion I have caused, the original
question posted was simply a "Paraphrase" of the message I was getting,
when I tried to connect to either Firefox or Sylfeed.

Herewith my "verbal sketch" of my desired layout.

      * The main Desk-Top Computer is a Win 10/64 - It is connected to
        /my Router/ by an Ethernet Cable. In turn, /my Router/ is
        connected to the Public Internet by an Ethernet Cable, which is
        connected to the "Service Provider's Router"(used solely as a
        connection point to the Public Internet), which is in turn
        connected to the Service Provider (China Telecom) by Optical Cable.
      * My Huawei Phone and my Wife's phone are connected by Wifi /to my
        Router/.
      * The TV Top Box is connected by Wifi /to my Router/.
      * My Notebook, a Samsung N-145, /should be/ connected by WiFi (or
        at least it was until I did something wrong?) /to my Router/.

All of the files I wish to share are located within the PC.

My Printer is connected via a USB cable to the PC.

The Wifi connections for the Phones and the TV Top Box /are still
working normally./

/
/

On 15/09/2020 15:31, Manfred Hampl wrote:
> Your question #692881 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/692881
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> I am sorry, but I have problems interpreting your information.
>
> The question title tells "I have screwed up my network server"
> In one of the recent answers you write "Server????????" which looks to me as if you do not understand which server I was asking about.
>
> Please give a short sketch of your desired network layout.
>
> I understand that there is a router, connected to the public Internet. How do the computers connetct to it, via cable or WLAN?
> How many additional computers are there? What is their function? Is one of them designed to be a server for other ones? If yes, serving what - files, printing, or acting as a WLAN router, or ...?
>
> If we do not know what you want to achieve, we can hardly tell what to
> do to achieve that.
>

--
This email has been checked for viruses by AVG.
https://www.avg.com

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

Can you try the following:

Temporarily connect the notebook to the router with an Ethernet cable. This will hopefully enable networking over Ethernet (not WLAN).

Execute the commands in step 1 and step 2 of

https://help.ubuntu.com/community/WirelessTroubleshootingProcedure

and copy/paste all output into this question document.

Revision history for this message
John Frank Fortun (johnu) said :
#13

Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:2 http://kr.archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://kr.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://kr.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://kr.archive.ubuntu.com/ubuntu bionic-updates/main i386 DEP-11 Metadata [295 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/main i386 DEP-11 Metadata [48.9 kB]
Get:7 http://kr.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1,031 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [638 kB]
Get:9 http://kr.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [346 kB]
Get:10 http://kr.archive.ubuntu.com/ubuntu bionic-updates/universe i386 DEP-11 Metadata [285 kB]
Get:11 http://kr.archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 DEP-11 Metadata [2,468 B]
Get:12 http://kr.archive.ubuntu.com/ubuntu bionic-backports/universe i386 DEP-11 Metadata [9,288 B]
Get:13 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [233 kB]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/universe i386 DEP-11 Metadata [55.9 kB]
Get:15 http://security.ubuntu.com/ubuntu bionic-security/multiverse i386 DEP-11 Metadata [2,464 B]
Fetched 3,198 kB in 1min 17s (41.8 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
usbutils is already the newest version (1:007-4build1).
grep is already the newest version (3.1-2build1).
pciutils is already the newest version (1:3.5.2-1ubuntu1.1).
rfkill is already the newest version (2.31.1-0.4ubuntu3.6).
The following packages were automatically installed and are no longer required:
  libllvm7 linux-headers-4.18.0-15 linux-headers-4.18.0-15-generic linux-image-4.18.0-15-generic
  linux-modules-4.18.0-15-generic linux-modules-extra-4.18.0-15-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libhd21 libx86emu1
The following NEW packages will be installed:
  hwinfo libhd21 libx86emu1
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 782 kB of archives.
After this operation, 3,345 kB of additional disk space will be used.
Do you want to continue? [Y/n]

________________________________
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: Tuesday, September 15, 2020 6:41 PM
To: <email address hidden> <email address hidden>
Subject: Re: [Question #692881]: I have screwed up my network server.

Your question #692881 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/692881

    Status: Open => Needs information

Manfred Hampl requested more information:
Can you try the following:

Temporarily connect the notebook to the router with an Ethernet cable.
This will hopefully enable networking over Ethernet (not WLAN).

Execute the commands in step 1 and step 2 of

https://help.ubuntu.com/community/WirelessTroubleshootingProcedure

and copy/paste all output into this question document.

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/692881

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#14

Hit the enter key to continue running the wireless troubleshooting procedure ...

Revision history for this message
John Frank Fortun (johnu) said :
#15

I will have to revert tomorrow and try again, as I was called away
before it had chance to complete the routine.

Meanwhile some good news, Wireless Wifi has now been restored, thanks to
my going through the steps you have so far asked of me, and re-defining
a new WIFI Connection!!

Many thanks for your diligence and patience.

On 15/09/2020 20:35, Manfred Hampl wrote:
> Your question #692881 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/692881
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Hit the enter key to continue running the wireless troubleshooting
> procedure ...
>

--
This email has been checked for viruses by AVG.
https://www.avg.com

Revision history for this message
John Frank Fortun (johnu) said :
#16

As mentioned briefly last evening, your earlier replies inspired me to look more closely at my existing Lubuntu configuration. As I had already started this work before your latest response, I continued as per the notes below:-

From System Tools - Network- we get Network Settings
General Tab - Host Name - john-N250P...Domain Name - "Blank"
DNS Tab - DNS Servers - 127.0.0.53...Search Domains - "Blank"
Hosts Tab - Defaults IP Address - Aliases
127.0.0.1 localhost
127.0.1.1 john-N250P.WORKGROUP
192.168.1.1 Wifihost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff00::1 ip6-allnodes
ff02::2 ip6-allroutes

 I added 192.168.1.1 "Wifihost" Yesterday, just before I got your last message.

From Preferences - Network Connections, now shows Name Last Used
Ethernet - Wired connection 2 3 minutes ago
Wi-Fi - MERCURY 802 2 2 minutes ago

I have just now (07:45/16th September/China Time) confirmed that I am connected to the server on the Note-Book.

That just leaves me to solve and test the "Workgroup" settings.
I suspect that it has something to do with correcting the IP Address setting at line 2 of the Host Tab Defaults?

To sum up, I am now able to connect by both Wifi and by Ethernet. I am therefore, very grateful for all of the time you have put in helping me, and no longer terrified at using the "Terminal".

Best wishes - John

________________________________
From: <email address hidden> <email address hidden> on behalf of Manfred Hampl <email address hidden>
Sent: Tuesday, September 15, 2020 8:35 PM
To: <email address hidden> <email address hidden>
Subject: Re: [Question #692881]: I have screwed up my network server.

Your question #692881 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/692881

    Status: Open => Needs information

Manfred Hampl requested more information:
Hit the enter key to continue running the wireless troubleshooting
procedure ...

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/692881

You received this question notification because you asked the question.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#17

Please mark as solved if the issue is gone

Revision history for this message
John Frank Fortun (johnu) said :
#18

Special thanks to Manfred.