Author Topic: Debian on Gemini - Usage  (Read 204357 times)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Debian on Gemini - Usage
« Reply #45 on: June 08, 2018, 01:49:38 pm »
Quote from: Adam Boardman
All seems a bit strange, so going back to the beginning, we got you to try with D9 on another laptop, and you said that worked. Can you go through/check the config on both and let us know what is different.

i.e. I figured perhaps you'd used NetworkManager on your laptop rather than connman, so thats why I suggested that.

Yes, D9 Live worked on my laptop....

D9 Live uses NetworkManager...

NM connects to my company guest network OK...

Opened Firefox and it opened a tab for Mozilla first run.  The body of the page says:

Quote
Login to network


This network may require you to login to use the internet.

Button: Open Login Page  and other button:  Advanced



Nothing happened when I clicked on Open Login Page button.

However, in another tab, I typed in 'neverssl.com' and it went to my company guest network login page!
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Debian on Gemini - Usage
« Reply #46 on: June 08, 2018, 01:53:48 pm »
UPDATE...

On my laptop running D9 Live....in terminal just did:

Code: [Select]
$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.4.4
nameserver 8.8.8.8


So, picks up same nameservers......

Anything else to check?
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Adam Boardman

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Debian on Gemini - Usage
« Reply #47 on: June 08, 2018, 01:59:28 pm »
If you've got your /etc/resolv.conf on the gemini linking to a non-existant connman related link then I suggest you remove that dead link and then reboot again.

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Debian on Gemini - Usage
« Reply #48 on: June 08, 2018, 02:12:58 pm »
Quote from: Adam Boardman
If you've got your /etc/resolv.conf on the gemini linking to a non-existant connman related link then I suggest you remove that dead link and then reboot again.

Thanks....

Have no idea where that link came from....

Just tried to remove link..did:

Code: [Select]
$ sudo rm /etc/connman/resolv.conf
sudo: unable to resolve host localhost.localdomain: Connection refused
rm: cannot remove '/run/connman/resolv.conf' : No such file or directory


Any suggestion?

Thanks!
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Adam Boardman

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Debian on Gemini - Usage
« Reply #49 on: June 08, 2018, 02:21:31 pm »
The file your trying to remove is /etc/resolv.conf?

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Debian on Gemini - Usage
« Reply #50 on: June 08, 2018, 02:25:13 pm »
Quote from: Adam Boardman
The file your trying to remove is /etc/resolv.conf?

Good question....

I thought I needed to remove the one named in link....

But maybe I'm mistaken...and I need to remove /etc/resolv.conf

Please see my prior post and advise...
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Adam Boardman

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Debian on Gemini - Usage
« Reply #51 on: June 08, 2018, 02:25:17 pm »
If that filed dosn't exist then you need to make it and it should contain the same contents as your d9 laptop as you previously quoted above. A reboot should have created it for you as network manager should have created it as you attached to the wifi, the assumption is that there is a dead link from the old connman config left lying about getting in the way.

Edit for clarity: you target is to remove the file /etc/resolv.conf then reboot and reconnect to the wifi, then verify that the /etc/resolv.conf file is now created with the same contents as on the D9 laptop (or very similar).
« Last Edit: June 08, 2018, 02:30:05 pm by Adam Boardman »

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Debian on Gemini - Usage
« Reply #52 on: June 08, 2018, 02:28:06 pm »
Quote from: Adam Boardman
If that filed dosn't exist then you need to make it and it should contain the same contents as your d9 laptop as you previously quoted above. A reboot should have created it for you as network manager should have created it as you attached to the wifi, the assumption is that there is a dead link from the old connman config left lying about getting in the way.

Think I understand....

Will check the file on D9 laptop....

Then create new resolv.conf on Gemini as you suggest.....

Will report back....

Thanks!
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Adam Boardman

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Debian on Gemini - Usage
« Reply #53 on: June 08, 2018, 02:32:00 pm »
You don't need to go back to the laptop, you've already quoted its contents there in your post #47

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Debian on Gemini - Usage
« Reply #54 on: June 08, 2018, 02:48:53 pm »
Quote from: Adam Boardman
You don't need to go back to the laptop, you've already quoted its contents there in your post #47


Oops, you're right!...    


Meanwhile, I created new /etc/resolv.conf to match D9 laptop. [However, per below, it is not there...???]

However, I noticed in /etc there is another directory now 'resolvconf'....assume created by NetworkManager install?....

Tried connecting again, but same error....

Should I put the resolv.conf file in the new resolvconv directory?

Also, I still see resolv.conf in red text in /etc as before:

resolv.conf -> /run/connman/resolv.conf

How can I delete it? As note in earlier post, it didn't delet with sudo rm....

Thanks
« Last Edit: June 08, 2018, 02:51:35 pm by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Debian on Gemini - Usage
« Reply #55 on: June 08, 2018, 02:56:07 pm »
UPDATE

So, was looking around directories....

Went inside /run...and saw NetworkManager directory.

Inside it is resolve.conf and it matches the one on my D9 laptop!

So, think (hope, wish...) issue now is to get rid of the nasty resolv.conf file and link that is still there in /etc....

Thanks.
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Adam Boardman

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Debian on Gemini - Usage
« Reply #56 on: June 08, 2018, 03:08:36 pm »
I'm really confused by this file is there file is not there thing.

On my gemini I have a real file called /etc/resolv.conf its automatically created by NetworkManager when I connect to my wifi network. I don't see how your sudo nano /etc/resolv.conf enter the nameserver line and save then check your internet connection can end up with the file not being there?

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Debian on Gemini - Usage
« Reply #57 on: June 08, 2018, 04:30:15 pm »
Sorry, it is a bit confusing....

Will try to clarify situation:

A.  Like you, I do have a real file resolv.conf created by NetworkManager. However, I see mine in /run/NetworkManager.

B.  If I look in /etc directory, I see in red text 'resolv.conf' and a 'resolvconf' directory.

C.  If I do 'ls -al', I see:

Code: [Select]
$ ls -al

lrwxrwxrwx   1   root  root       24  Jun   8  11:41  resolv.conf  ->  /run/connman/resolv.conf

drwxr-xr-x    3   root  root   4096   Feb 23  12:31 resolvconf


D.  If I look inside 'resolvconf directory, I see directory 'update-libc.d' and inside that directory is 'avahi-daemon'.


So....given the above state of things, etc, should I delete the /etc/resolv.conf that is linked to /run/connman/resolv.conf or leave it?

If delete, could use direction as to how to delete, given earlier posts today where I showed that system did not want to let me delete it.

Hope this is bit clearer now.....

Thanks!

UPDATE

Well, decided to try and delete /etc/resolv.conf again. This time it worked! Go figure.....

Logged out and then logged back in....

NetworkManager automagically connects to my company guest network. Signal is pretty good....like 3 bars....

Opened Chromium browser and tried to get to login page...

Unfortunately, now I got the error message that I got in my much earlier posts....

Quote
The site can't be reached

http://10.224.128.40/upload/custom/PK-EDGE-PC/index.html?
cmd=login&mac=00:09:345a:84:5c&ip=192.168.0.71&essid=%20
%%0&url=http%3A%2F%2Fwebmail%2Eearthlink%2Enet%2F is
unreachable.
ERR_ADDRESS_UNREACHABLE

* I changed a few numbers and letters in url quoted above....


UPDATE 2

Just checked /etc and now I see 'resolv.conf' file in light blue color...looked at the file, it is now showing the text as generated by NetworkManager!
So, that's progress, I suppose....

However, still can't connect to login page......  
« Last Edit: June 08, 2018, 04:55:52 pm by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

Adam Boardman

  • Full Member
  • ***
  • Posts: 191
    • View Profile
Debian on Gemini - Usage
« Reply #58 on: June 08, 2018, 05:30:01 pm »
OK so basically the connman and the NM are both doing the same for your WiFi, you get a connection but for some reason the auto redirect to guest login is failing.

So can you go back to the D9 laptop and get to the guest network login web page, check whats in the address bar, then see what happens if you type that into the gemini address bar.

I also assume you've tried both firefox and chromium.

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Debian on Gemini - Usage
« Reply #59 on: June 08, 2018, 05:50:02 pm »
Quote from: Adam Boardman
OK so basically the connman and the NM are both doing the same for your WiFi, you get a connection but for some reason the auto redirect to guest login is failing.


Correct, in connman and NM, I can see that it says I'm connected to the guest network, but in browsers, it fails to go to the guest login page.



Quote
So can you go back to the D9 laptop and get to the guest network login web page, check whats in the address bar, then see what happens if you type that into the gemini address bar.

Just did this, but I still get 'Unable to Connect' error message.....


Quote
I also assume you've tried both firefox and chromium.

Correct, have tried both browsers......


 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/