Choose style:

Author Topic: Not able to connect to the internet through Ethernet  (Read 2534 times)

0 Members and 1 Guest are viewing this topic.

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 976
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Not able to connect to the internet through Ethernet
« Reply #15 on: March 07, 2018, 01:12:03 pm »
This sounds like it could be a motherboard problem. I had the same type of problem after an electrical storm a while back. Everything worked except the internet connection.
What was I thinking?

Offline Kavin

  • nOOb
  • *
  • Posts: 15
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: Not able to connect to the internet through Ethernet
« Reply #16 on: March 08, 2018, 12:43:23 am »
Here is the link to the file requested

http://s000.tinyupload.com/?file_id=01149387501557152105


I had windows 7 earlier and everything worked fine. I then changed to peppermint 7 and it was still working fine but a week back i changed my internet connection and my router from ADSL to normal broadband router and the ethernet has stopped working since then.

I checked the router and the cable by connecting it to my laptop which has both windows 7 and Linux mint and the ethernet worked fine on both the OS.

The LED light  on the ethernet port on the desktop turns on when the cable is plugged into it and similarly the LED light on the router for the corresponding port turns on as well so i am assuming that there is no problem with the LAN card.

I was able to get internet on the desktop through my phone via usb tethering but that is not a permanent solution. Iam currently logged in from my desktop. The computer was assembled by a friend of mine years ago. It is very old Pentium 4 and has 1 gb of ram.

If you need any other information then please do let me know.

Thanks
Kavin

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1703
  • Karma: 462
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 9 - 64bit
Re: Not able to connect to the internet through Ethernet
« Reply #17 on: March 08, 2018, 02:46:52 am »
Hi Kavin,

The usual thing to post initially concerning your hardware is the output from this command (run in a terminal window):

Code: [Select]
inxi -Fz

But the outputs you have already posted from the other terminal commands provide lots of good info about your setup.

Regards,

-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25093
  • Karma: 2777
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Not able to connect to the internet through Ethernet
« Reply #18 on: March 08, 2018, 08:45:52 am »
Okay I see nothing wrong in dmesg, but your ifconfig output suggests the adapter is not getting assigned an IP address via the routers DHCP server.

Can you open a terminal and run:
Code: [Select]
nm-connection-editor
and tell me what you see in the list ?

and post the output from:
Code: [Select]
ls /etc/NetworkManager/system-connections
« Last Edit: March 08, 2018, 08:47:31 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Kavin

  • nOOb
  • *
  • Posts: 15
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: Not able to connect to the internet through Ethernet
« Reply #19 on: March 08, 2018, 10:06:17 am »
The output from both the commands are as follows

Code: [Select]
natarajan@natarajan-desktop ~ $ nm-connection-editor
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Code: [Select]
natarajan@natarajan-desktop ~ $ ls /etc/NetworkManager/system-connections
Wired connection 1  Wired connection 2


After running the first command it opens the network connection dialog box and it shows wired connection 1 , wired connection 2 and wired connection 3 . The wired connection 3 is the mobile that i have connected to get the internet on the desktop.

@Slim Thanks for letting me know will keep that in mind in future while posting.

Regards,
Kavin
« Last Edit: March 08, 2018, 06:04:22 pm by AndyInMokum, Reason: Encapsulating output with [code] »

Offline Kavin

  • nOOb
  • *
  • Posts: 15
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: Not able to connect to the internet through Ethernet
« Reply #20 on: March 08, 2018, 10:17:26 am »
Posting the output from the command that slim suggested maybe this will help you'll get some more info.

Code: [Select]
natarajan@natarajan-desktop ~ $ inxi -Fz
System:    Host: natarajan-desktop Kernel: 4.4.0-116-generic i686 (32 bit)
           Desktop: N/A Distro: Peppermint Seven
Machine:   Mobo: MICRO-STAR model: MS-7131 v: REV:1.0
           Bios: Phoenix v: 6.00 PG date: 02/18/2005
CPU:       Single core Intel Pentium 4 (-UP-) cache: 1024 KB
           speed: 2659 MHz (max)
Graphics:  Card: Intel 82915G/GV/910GL Integrated Graphics Controller
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1024x768@60.00hz
           GLX Renderer: Mesa DRI Intel 915G x86/MMX/SSE2
           GLX Version: 1.4 Mesa 17.2.8
Audio:     Card Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller
           driver: snd_intel8x0
           Sound: Advanced Linux Sound Architecture v: k4.4.0-116-generic
Network:   Card: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
           driver: 8139too
           IF: enp1s11 state: down mac: <filter>
Drives:    HDD Total Size: 80.0GB (30.1% used)
           ID-1: /dev/sda model: ST380817AS size: 80.0GB
Partition: ID-1: / size: 26G used: 7.9G (33%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 23G used: 6.1G (29%) fs: ext4 dev: /dev/sda3
           ID-3: swap-1 size: 3.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 63.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 149 Uptime: 25 min Memory: 416.0/991.7MB
           Client: Shell (bash) inxi: 2.2.35

« Last Edit: March 08, 2018, 06:03:15 pm by AndyInMokum, Reason: Encapsulating output with [code] »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25093
  • Karma: 2777
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Not able to connect to the internet through Ethernet
« Reply #21 on: March 08, 2018, 11:43:58 am »
Okay let's try something...

run:
Code: [Select]
nm-connection-editor
hightlight "Wired connection 1", and click the "Delete" button.

hightlight "Wired connection 2", and click the "Delete" button.

Now click the "Add" button .. select "Ethernet" and click the "Create" button.

In the resulting dialog change:-

Connection name: Ethernet connection 1
(it may already be called this)

then click the arrow at the end of the "Device:" line, and select "nmcli device status" from the drop menu .. so it now reads:-

Device: enpls11 (<MAC address>)

Click the "Save" button.

Now what's the output from:
Code: [Select]
ifconfig
and
Code: [Select]
nmcli device status

WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Kavin

  • nOOb
  • *
  • Posts: 15
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: Not able to connect to the internet through Ethernet
« Reply #22 on: March 08, 2018, 12:06:08 pm »
ok I deleted the two connections and then created one and here is the output from the commands

Code: [Select]
natarajan@natarajan-desktop ~ $ ifconfig
enp0s29f7u7 Link encap:Ethernet  HWaddr 02:64:64:6a:0a:79 
          inet addr:192.168.42.143  Bcast:192.168.42.255  Mask:255.255.255.0
          inet6 addr: fe80::2e54:7f3d:447:830b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1038 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1177 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:491710 (491.7 KB)  TX bytes:206776 (206.7 KB)

enp1s11   Link encap:Ethernet  HWaddr 00:13:d3:99:7f:66 
          UP BROADCAST 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)

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:65536  Metric:1
          RX packets:405 errors:0 dropped:0 overruns:0 frame:0
          TX packets:405 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:52904 (52.9 KB)  TX bytes:52904 (52.9 KB)

Code: [Select]
natarajan@natarajan-desktop ~ $ nmcli device status
DEVICE       TYPE      STATE        CONNECTION         
enp0s29f7u7  ethernet  connected    Wired connection 3
enp1s11      ethernet  unavailable  --                 
lo           loopback  unmanaged    --   



I dont know if this information will be useful but the mobo had a built in ethernet which got corrupted a few years back and i had to install an external lan card which is the socket where i have currently plugged in the cable from the router.

regards,
kavin
« Last Edit: March 08, 2018, 06:02:34 pm by AndyInMokum »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25093
  • Karma: 2777
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Not able to connect to the internet through Ethernet
« Reply #23 on: March 08, 2018, 12:38:59 pm »
What happens if you disable IPv6 for the ethernet connection, and/or set a static IP ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline anselm

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 11
  • New Forum User
    • View Profile
  • Peppermint version(s): 8.5(64 bit)
Re: Not able to connect to the internet through Ethernet
« Reply #24 on: March 08, 2018, 03:25:06 pm »
Can you go in your bios and disable on board lan , it might force peppermint to use your Pci Ethernet card instead?

Before you try this wait until you hear more from PCNetSpec he might have more options for you.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1012
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Not able to connect to the internet through Ethernet
« Reply #25 on: March 08, 2018, 06:22:58 pm »
Hi Kavin, how's it going  :)?  Wow, you've a splendid issue to add to the PeppermintOS knowledge base.  You're in good hands with PCNetSpec.  He's Peppermint's lead developer ;).

For future reference, could you please remember to encapsulate all terminal outputs with the Insert, Code # function.  For extra long outputs, please use the Spoiler, Sp function.  If youíre a Chromium Browser and/or a Google Chrome user, please don't combine these functions.  For some reason they donít work well together with these browsers.  Only use one or the other  ;).  These forum functions preserve the original format of the output.  This makes it easier for future visitors to relate to their own issues.  These functions are found in the forum editor, above the,  :-[ Embarrassed and  the :'( Cry emoticon respectively.  Use the Preview button to check how it'll look in the forum.  This time, I've done it for you - many thanks  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Kavin

  • nOOb
  • *
  • Posts: 15
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: Not able to connect to the internet through Ethernet
« Reply #26 on: March 10, 2018, 12:12:45 am »
hello

sorry i was not able to come online yesterdsay i had a new set of problems to deal with.  Since I was able to get internet on the desktop and i noticed i had not updated the available updates i donwnloaded and installed the updates hoping that maybe that might help. The updates were done and everything was normal but when i rebooted it again i noticed that there was no display. I shut down and rebooted it again it booted up very slowly and i noticed that since i have  a onboard lan card and an external lan card during boot time it always shows up both the cards but after booting it showed only one card. I was not sure if this was the onboard  card or the external so i went into bios and checked that the onboard lan card was enabled. I disabled it. Hoping that this might make the software detect my external lan card and i booted it again and this time again there was no display.

I tried 2 or 3 times to shutdown and boot up but no display. I thought maybe some cable must have become loose so i opened up the cpu and just checked the hard drive cables and the ram everything seemed ok so i booted it up again and this time it showed just one lan card during booting so i guess it detected the external lan card but it would not boot up all the way it stopped before it could load the login page and  so i shut down and rebooted again and this time again there was no display.

I decided to change the sata port as i had touched it earlier and the display came back so i assumed maybe the port was giving problems and i removed the cable from sata port 1 to sata port 2 on the mobo  and powered up. This time it booted up but it showed me a pxe.rom error i realized the mistake i had done because the software was not able to find the hard drive to boot so i changed the cable again back to its original position and booted up this time it booted up but showed a series of errors which i could not understand i took a pic of the error with my phone and i have uploaded it on tinyupload here are the links to it.


http://s000.tinyupload.com/index.php?file_id=08359744343260109558

http://s000.tinyupload.com/index.php?file_id=21700533216844420548

http://s000.tinyupload.com/index.php?file_id=02531731646060239920

http://s000.tinyupload.com/index.php?file_id=60830431079694823092

http://s000.tinyupload.com/index.php?file_id=96816131408740736487

I am clueless how to go about this error any help would be greatly appreciated.

Regards,
Thanks

Offline Kavin

  • nOOb
  • *
  • Posts: 15
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 7
Re: Not able to connect to the internet through Ethernet
« Reply #27 on: March 10, 2018, 08:26:02 am »
since the os was not getting booted properly i decided to see it if it would run through an usb and if i could maybe reinstall or repair peppermint 7. This afternoon i made a bootable usb of the os and booted the pc. It showed me this error:

http://s000.tinyupload.com/index.php?file_id=24770432008803369318


It then went on to boot from the usb and showed me the peppermint 7 install screen. I chose to install peppermint os it then showed me the installation screen where i had to select the language when i clicked on continue it showed that the space required for the installation was 4.6 GB that was required and I had only 4GB so it was not able to detect my hard drive and it was able to detect only my hard drive. The only solace that i got while doing this is that a pop up appeared on the right hand corner stating that " wired connection 1 was established and i had disabled the on board lan and no phone was connected so it was the ethernet port which was detected and was working fine.

i quit the installation and it took me to the live OS so i decided to look into the connection details of the ethernet and here are some snapshots in the link.


http://s000.tinyupload.com/index.php?file_id=41378948682862913317


http://s000.tinyupload.com/index.php?file_id=08781593956857145897


I also looked into gparted and the disk uitlity to see if my hard drive was showing there but it was not getting detected at all, though it was showing up in the bios. here are some snapshots of the gparted and disk uitility.

http://s000.tinyupload.com/index.php?file_id=27314592997044449537


http://s000.tinyupload.com/index.php?file_id=04933511277430557575


Has my hard drive gone kaput or is it something else?

Request your help

Regards
Kavin

« Last Edit: March 10, 2018, 10:23:18 am by PCNetSpec »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25093
  • Karma: 2777
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Not able to connect to the internet through Ethernet
« Reply #28 on: March 10, 2018, 09:09:42 am »
Firstly, can you please read this about how to post images on this forum:
https://forum.peppermintos.com/index.php/topic,4284.msg42728.html#msg42728
(I've fixed the images above by uploading them to imgur)



Okay your first image seems to suggest you have "Boot from LAN" (aka. PXE Boot ROM) set in your BIOS with a higher priority than the USB stick.
(not a problem in itself .. but you might want to change or even disable that)

The good news is that at least you've proved the network adapter works.

The not so good news is you MAY have an HDD problem (though you also may not) .. can you boot to the LiveUSB again and post the output from:
Code: [Select]
sudo fdisk -l
and
Code: [Select]
sudo blkid

And did you change any BIOS settings to boot from the LiveUSB ?

[EDIT]

I've just noticed a discrepancy in the "Hardware Address" (aka. MAC address) between the non working installed version of Peppermint (00:13:d3:99:7f:66) and the working LiveUSB (00:05:07:01:71:48)

Do you still have Peppermint installed ?
« Last Edit: March 10, 2018, 10:31:15 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline anselm

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 11
  • New Forum User
    • View Profile
  • Peppermint version(s): 8.5(64 bit)
Re: Not able to connect to the internet through Ethernet
« Reply #29 on: March 10, 2018, 08:26:36 pm »
Looking at your picture of gparted your looking at you usb drive, where it says /dev/sdb  3.75 gig click the up and downs arrows does sda show up in the menu?