Help - Search - Members - Calendar
Full Version: Debian on Gemini - Usage
OESF Portables Forum > Model Specific Forums > Gemini PDA > Gemini PDA - Linux OS
Pages: 1, 2
ArchiMark
Managed to get Debian running on Gemini!

Working, but runs a bit slow.....

Have a few issues/questions....thought it would be good to start a thread for such things....

1. Mouse

I plugged my tiny little Targus mini-mouse into Gemini usb hub but it was not recognized.

Has anyone used a mouse successfully? If so, did you plug into the hub or ?


2. Window Manager

Any pros/cons for using KWin vs Xfwm4?

Also, in the window that allows you to choose, it listed KWin twin, but since window is so small, you can't read all the text description. Is this just a duplicate entry or are there 2 different versions?


3. Wireless Network

Used ConnMan to connect to the guest network at work. However, the guest network requires that you login via a webpage. For some unknown reason, I get an error message in browsers when I try to connect to that page.

I have no problem connecting to the login page when using Android on Gemini.

Any suggestions?


Thanks for any help.

Mark
Adam Boardman
Slow:
Well yesterday evening TheKit put a patch in that got gtkperf to go from 214s -> 65s, so a 3x performance improvement. Just an apt-get update & upgrade away.

Mouse:
I found the connectivity kit hub to have an audible electronic hum so hadn't tried it much, but I just tried it now and it does seem to dislike mice in both Android and Linux. I've been using a mouse happily with a more pocket-able USB Converter.

WM:
I picked KWin, never tried the other.

Wireless:
The code within cmst (the Connman UI) has a second tab for its wifi-password entry to supposedly attempt to handle those kind of guest networks. Could you try with a regular Debian 9 install on a x86 laptop to identify if the problem is a generic one with stretch or with our changes?
ArchiMark
QUOTE(Adam Boardman @ May 9 2018, 04:14 AM) *
Slow:
Well yesterday evening TheKit put a patch in that got gtkperf to go from 214s -> 65s, so a 3x performance improvement. Just an apt-get update & upgrade away.


Sounds good, will do upgrade....



QUOTE
Mouse:
I found the connectivity kit hub to have an audible electronic hum so hadn't tried it much, but I just tried it now and it does seem to dislike mice in both Android and Linux. I've been using a mouse happily with a more pocket-able USB Converter.



Sounds good, will get an adaptor....although seems odd that we can't use the hub...


QUOTE
WM:
I picked KWin, never tried the other.


Did you see KWin listed twice in the list to choose from?


QUOTE
Wireless:
The code within cmst (the Connman UI) has a second tab for its wifi-password entry to supposedly attempt to handle those kind of guest networks. Could you try with a regular Debian 9 install on a x86 laptop to identify if the problem is a generic one with stretch or with our changes?


This login page does not have a password to enter....it requires that you click on a tiny checkbox and then click on a button that says 'Login'.

Used the second tab, selected network, then chromium as browser. It opened up chromium, but get error message:

QUOTE
This site can't be reached

Shows URL and says 'is unreachable' at end of URL

ERR_ADDRESS_UNREACHABLE


I do not have this problem with my x86 laptop that dual boots Win10 and LinuxMint.


Thank you for all your help, Adam!
Adam Boardman
Yes there was two KWins, no idea why.

LinuxMint has probably a bunch of newer versions of various packages, so my request still stands that I would like you to try out an x86 Debian 9 to isolate the problem to whether its in something we've changed or just that the older versions of things in D9 just don't support your kind of guest network.
ArchiMark
QUOTE(Adam Boardman @ May 9 2018, 09:19 AM) *
Yes there was two KWins, no idea why.

LinuxMint has probably a bunch of newer versions of various packages, so my request still stands that I would like you to try out an x86 Debian 9 to isolate the problem to whether its in something we've changed or just that the older versions of things in D9 just don't support your kind of guest network.



OK, will try to get Debian 9 install setup...
ArchiMark
OK, was able to get Debian 9 running on my lil' Lenovo Flex 10 laptop.....

Selected the guest network and opened Firefox and it already had a button near top of window that says 'login page'. Clicked it and Voila! it connected to the login page and worked when I logged in....

So, there's something funky with the Debian/ConnMan setup on the Gemini I assume.....

Meanwhile, when I get home from work, I should be able to do the apt-get upgrade there.

Let me know if you have any other suggestions regarding being able to connect the guest network at my office.

Thanks!
ArchiMark
Playing with Debian on Gemini this evening at home...

Good news is that it connects easily to my home WiFi network. Selected my home network from list in ConnMan, clicked 'Connect' and then it popped open a window asking me to enter my network password.

Also, bought a nice little sleek MacAlly USB to USB-C adapter. Mouse works well now.

Meanwhile, a new issue....

I wanted to do 'apt-get upgrade', but I can't type some of the characters I need such as ' - '.

4. Keyboard Layout

How do you type the characters that are printed on the front edge of the keyboard keys?

I went into Preferences > LXQt Settings > Keyboard and Mouse > Keyboard Layout and it shows 'US Keyboard', which is good since I am in USA.

Underneath this is 'Keyboard model' and next to it is a pop-down menu with a long list of models to choose. It was set to 'Generic 101-key PC'. Is this OK or is there a better one to use?

Or is there something else I need to do to get the right keyboard layout?

Would help if there was an on-screen keyboard to use for now to get access to needed characters.....


5. Terminal

Which terminal is best to use?

UXterm gives error message in the terminal window when opened.

Xterm opens OK, but text is microscopic in size, have to use a magnifying lens to read text in window....can one enlarge size of text?


Thanks for any and all help.

Mark
Adam Boardman
You need to update all the packages the keyboard layouts were done after the first image. DebianTP has lots of helpful stuff to do with getting things updated to the latest state. QTerminal supports zoom levels but you need to fix the shell before its usable.
ArchiMark
THANK YOU for the input and link, Adam!

Took a quick look at that page and it does have lots of good info. Wish I'd known about it earlier....

So, will work my way through the various things mentioned there in order to get my setup correct.

And then will try to connect to the guest network at work again to see if it will connect....
ArchiMark
At home, last evening I did some of the items on DebianTP page....WiFi connection works well at home.

SSH'd into the Gemini and did the following items (showing the Heading from the DebianTP page):

Set a shell so that the device is usable

More disk space

Locales


A. Shared Internet Connection

Now I would like to use apt-get to more updates.

However, I'm at work now and I still cannot connect to guest network from Gemini. However, I can connect to guest network from GPD Pocket running LinuxMint.

Is it possible to piggyback off of the WiFi connection on GPD Pocket to access internet?

I'm connected Gemini to Pocket with the usb cable to use ssh.


UPDATE: Figured out how to setup Pocket as 'Hotspot'. However, won't work at work on guest network. Got error message that this connection cannot be shared. Oh well....will continue update process when I get home this evening....



B. Keyboard Mapping


Not clear about getting keyboard mapping working properly.

Will doing apt-get upgrades will get mapping working properly or do I need to update the kernel or ?


Thank you for help.

Mark
depscribe
QUOTE(ArchiMark @ May 14 2018, 06:34 AM) *
Will doing apt-get upgrades will get mapping working properly or do I need to update the kernel or ?

As the wiki notes (it is easy to miss stuff; I did and made a mess), for the new keyboard mapping to work a hacked kernel is necessary:

Update the kernel

NOTE[HAZARD WARNING]: If you've used the Gemini Partition Tool to swap your primary boot to linux then its its no longer possible to update your kernel in this way. You'll have to go back to the flashing tool.

Gemian now includes a branch of xkb with some initial keyboard maps, these need a newer kernel, this can be done on device without going back to the flashing system:

CODE
wget https://gemian.thinkglobally.org/linux-boot-2018-03-26-H4.img
sudo dd if=linux-boot-2018-03-26-H4.img of=/dev/disk/by-partlabel/linux_boot

You can check your kernel version with a:

uname -a
After the update it should show:

Linux localhost 3.18.41+ #4 SMP PREEMPT Wed Mar 26 22:43:05 MSK 2018 aarch64 GNU/Linux
Probably best to check your version before updating it, the date stamp is the most reliable way of knowing what is newer, the build numbers randomly reset.

[eoq]

Unless you used the partitioning tool -- did you? It askes which operating system you want as the default and how you want to divide the available space -- that should worj just fine, no reflash needed.
ArchiMark
QUOTE(depscribe @ May 14 2018, 12:10 PM) *
QUOTE(ArchiMark @ May 14 2018, 06:34 AM) *
Will doing apt-get upgrades will get mapping working properly or do I need to update the kernel or ?


As the wiki notes (it is easy to miss stuff; I did and made a mess), for the new keyboard mapping to work a hacked kernel is necessary:

Update the kernel

NOTE[HAZARD WARNING]: If you've used the Gemini Partition Tool to swap your primary boot to linux then its its no longer possible to update your kernel in this way. You'll have to go back to the flashing tool.

Gemian now includes a branch of xkb with some initial keyboard maps, these need a newer kernel, this can be done on device without going back to the flashing system:

CODE
wget https://gemian.thinkglobally.org/linux-boot-2018-03-26-H4.img
sudo dd if=linux-boot-2018-03-26-H4.img of=/dev/disk/by-partlabel/linux_boot

You can check your kernel version with a:

uname -a
After the update it should show:

Linux localhost 3.18.41+ #4 SMP PREEMPT Wed Mar 26 22:43:05 MSK 2018 aarch64 GNU/Linux
Probably best to check your version before updating it, the date stamp is the most reliable way of knowing what is newer, the build numbers randomly reset.

[eoq]

Unless you used the partitioning tool -- did you? It askes which operating system you want as the default and how you want to divide the available space -- that should worj just fine, no reflash needed.


THANK YOU, dep, for your input!

Yes, read page and trying to follow it carefully....but wasn't completely sure if you did need to update the kernel to get keyboard mapping set correctly....

Will do kernel update this evening at home...

I did not use the partitioning tool....I did the resize command as noted on the GemianTP page.

Hope to have a usable Debian setup on Gemini soon....

Mark
ArchiMark
OK, did the system upgrades with apt-get and the kernel update per GemianTP page.

Checked kernel version to make sure it matched info on GemianTP page.

Tried typing, but could not get the characters on front edge of keys to type.

I rebooted Gemini and still can't type the characters on front edge of keys with pressing Fn key too.

I checked LXQt settings, ‘keyboard and mouse’. There keyboard is shown as ‘English (US) and keyboard layout as ‘generic 101-key PC’. There is a message about these settings may be ignored if system uses some other controls. So, don’t know if this Debian setup ignores preferences shown.

I have US keyboard on my Gemini.

Is there some other configuration step I need to do that is not described on GemianTP page???

Thanks for any help.

Mark
Adam Boardman
Sorry should probably mention it on the page. Once you've done the updates the sddm (the login screen) has in its top edge a dropdown so you can pick the keyboard layout. This will (should) set the keyboard for the session.

The only trouble is if you've also manually set a session keyboard within the LXQt settings this will probably override it. In that case you need to pick your layout and then select 'Planet Computers Gemini' for the 'Keyboard model'. Also if your keyboard layout has two sets of letters printed the keyboard will be auto-configured to use left+right shift to swap the letters in use, this may conflict with other multi-layout settings you can pick from the UI.

The idea was to have the keyboard types auto detect based upon plugging so that the internal one will automatically be selected as a Gemini and an external one as pc104 etc, and the layouts work as expected. Any lxqt settings set break this. I'm not entirely convinced its working right just yet either I've not tested it recently, it was working once upon a time. If someone wants to try testing it then edit files in .config to remove any keyboard settings first, then select from the login screen.

The kernel update enables things like Sleep on Close, Bluetooth, the use of the ESC key as fn+esc to 'sleep (off)'. All the rest of the keys are the same without the kernel update. (the updated shortcuts may also require a reset of your .config/lxqt/globalkeyshortcuts.conf)
ArchiMark
THANKS, Adam, for your help....that did it...

I logged out, then selected keyboard on login screen. Then logged in and went to LXQt preferences, Keyboard and Mouse. Then in Keyboard, I selected 'English (US)' and clicked 'Remove' button and closed window.

Tried typing characters on front edge of keys and it finally worked !!!

Now have a working Gemini with Debian.....

tongue.gif

Mark
Adam Boardman
I'm uncertain if the second part of you did was required, but so long as it works.
ArchiMark
QUOTE(Adam Boardman @ May 15 2018, 06:23 AM) *
I'm uncertain if the second part of you did was required, but so long as it works.


It was...

I tried just the first part and still no go. So, logged out again and did as I wrote in prior post and Voila! It worked!
Adam Boardman
Good stuff, the latest thing is that you can install gemian-leds and to get the caps lock led to work.
ArchiMark
Great....

Onward and upward.....

smile.gif
ArchiMark
Got caps lock LED working...no more blue LED!

Battery status app is not working, correct?

if so, is there way to fix?

Thanks.
Adam Boardman
The battery status green circle shows how much is left, the clicking on it thing is nonsense it seems.
ArchiMark
QUOTE(Adam Boardman @ May 15 2018, 10:33 AM) *
The battery status green circle shows how much is left, the clicking on it thing is nonsense it seems.


OK, now I get it....

Thanks!
ArchiMark
Got another one.....

Ethernet Connection

At home it would be nice to use my wired ethernet connection.

Is the Debian image setup for this or does one need to some installs and/or configuration to get it working.

I have the Gemini hub which has ethernet port at the end of it. However, one light is green and other is orange at port when cable plugged in.

Tried pinging, but says network unreachable.

Did ifconfig and think ethernet is rndis0. Tried doing ifup rndis0, but says not found....

Any suggestions?


Thanks.
ArchiMark
OK, now another one....

Relates to DebianTP webpage, heading 'Sleep on close'.

Did as instructed, and after using Gemini, I closed it up. If I click on the silver side button, I hear the time announcement. That's the good news...


Meanwhile, have no idea how to wake up Gemini, so tried various keys.

Clicked Esc key and get this world map graphic with yellow dots on some locations in the world. No hint on screen regarding unlocking.

Clicked Enter key: I get a blue circle with word 'verifying...' on display. Then after a bit, circle turns red and says 'wrong!'

What is key(s) to get Gemini unlocked?

Thanks.

UPDATE

OK, figured out how to unlock....

When you see the world map screen, type the Gemini password and it unlocks....


UPDATE 2

Noticed an item in taskbar 'Screen Saver Activation Error'. Clicked on it and window popped up that says:

QUOTE
An error occurred starting screensaver. Action 'activate' failed. Ensure you have xscreensaver installed and running'.
Grench
You folks here working on the Debian items might have some insights to a few issues I'm seeing on Android.

Above was a discussion where the lid switch was activated under Debian. I want to change how it works on Android. Is the lid switch in the Keyboard matrix (keycode?) or does it live on it's own weird GPIO elsewhere or other?

Debian has it's own keyboard mapping - which may be better than what is on Android. Within Debian, do Fn+arrows work? I.e. is PgUp, PgDn, Home, End working on the Debian side? If so - good, that means there is hope. Is there a table of keycodes generated by keys that can be shared?

Thanks!
Adam Boardman
Grench - We changed our kernel so that it doesn't use F11/12 for the lid switch:
https://github.com/gemian/gemini-linux-kern...47c8967963d6b0f

The android kernel will still be sending F11/12 keys.

Yes we have our own key maps, and all the keys can be made to do useful/appropriate things:
https://github.com/gemian/xkeyboard-config/...net_vndr/gemini

Uncertain how you would make use of any of this in Android, unless your re-building your own version some how (Lineage OS)?

Crucial things to know about keyboards - the Gemini closes on its keys, this means that they fire off random key presses on the close and the open and sometimes full scale repeat for the entire duration of the closed lid state. In debian we handle this with both turning off the screen/keyboard and launching a lock screen to eat key presses. It will be interesting to figure out the HDMI+USB/BT keyboard+closed device user story once we get to working on that side of things.

--

Mark - Ethernet not supported yet, theoretically there are USB drivers available for the dongle, just need to debug it/figure out why they aren't being picked up automatically, not looked into it yet, probably not worth looking into until we've decided on the best cellular connectivity solution.

The rndis is the usb tethering that can be used for initial setup when connected to a PC via the USB cable.

You can activate the screen saver (sleep) with the fn+esc key combination. We don't use xscreensaver, isn't that the animated type screen-saver rather than a power efficient sleep?
Grench
QUOTE(Adam Boardman @ May 16 2018, 11:25 AM) *
Grench - We changed our kernel so that it doesn't use F11/12 for the lid switch:
https://github.com/gemian/gemini-linux-kern...47c8967963d6b0f

The android kernel will still be sending F11/12 keys.

Yes we have our own key maps, and all the keys can be made to do useful/appropriate things:
https://github.com/gemian/xkeyboard-config/...net_vndr/gemini

Uncertain how you would make use of any of this in Android, unless your re-building your own version some how (Lineage OS)?

Crucial things to know about keyboards - the Gemini closes on its keys, this means that they fire off random key presses on the close and the open and sometimes full scale repeat for the entire duration of the closed lid state. In debian we handle this with both turning off the screen/keyboard and launching a lock screen to eat key presses. It will be interesting to figure out the HDMI+USB/BT keyboard+closed device user story once we get to working on that side of things.


Thank you - that helps a lot. My interest is in being to document the issues on the Android keyboard & lid switch in the faint hope that they might get fixed in the Gemini Android keyboard driver. Since the Debian group here has, 'been there done that', I thank you for your assistance in documentation.

Android lid switch is F11/F12. So it's behavior should be governed in the Planet keyboard app.

Can you verify that PgUp/PgDn/Home/End are returning their proper keycodes and functioning normally in Debian applications? (These do not work at all in Android on the Gemini US keyboard definition.) Likely just a value change in a table.

Thank you!
ArchiMark
QUOTE(Adam Boardman @ May 16 2018, 09:25 AM) *
Mark - Ethernet not supported yet, theoretically there are USB drivers available for the dongle, just need to debug it/figure out why they aren't being picked up automatically, not looked into it yet, probably not worth looking into until we've decided on the best cellular connectivity solution.

The rndis is the usb tethering that can be used for initial setup when connected to a PC via the USB cable.


Thanks for explaining.....understand current situation...


QUOTE
You can activate the screen saver (sleep) with the fn+esc key combination. We don't use xscreensaver, isn't that the animated type screen-saver rather than a power efficient sleep?



Thanks for this info...

Regarding xscreensaver, I was just surprised to see the error message and thought it good to report it.

You're right, it's the animated screen-saver....


ArchiMark
WiFi - Guest Network - Captive Portal - Login Problem

Per my earlier posts on page 1 of this thread, I am still not able to get to login page on web browsers for the guest network at my workplace.

WiFi works well on Gemini everywhere except at my workplace.

I know it should work as I'm able to connect easily to guest network with all my other little laptops that run Win 10 or Linux.

Even though I can see the guest network and shows I'm connected in cmst, the browsers will not go to the login page.

Have tried with Firefox ESR and Chromium included in Debian image.

The guest network at my company is the type where you have to see the login page, click on checkbox to agree to terms & conditions, then click on connect button, then you get taken to a company related webpage, and you're good to go web-surfing wherever you like.

I've looked through the various items in Connman/cmst windows, and tinkered a bit with some settings, but nothing seems to fix this.

Have tried various suggestions mentioned on various websites about not connecting to public WiFi networks, but nothing works. Have tried typing in the network IP address in browser, typing in neverssl.com, etc.

In the Details tab, it says:

Connection: wifi_0009345a845c_4b61697365724775657374_managed_none

Service Details:
Service Type: WiFi
Service State: Ready
Favorite: Yes
External Configuration File: No
Auto Connect: On

Name Servers
8.8.4.4
8.8.8.8

Time Servers
192.168.0.1

IPv4
IP Address Acquisition: DHCP
IP Address: 192.168.0.11
IP Netmask: 255.255.255.0
IP Gateway: 192.168.0.1

IPv6
section is blank

Ethernet
Connection Method: Auto
Interface: wlan0
Device Address: 00:09:34:5A:84:5C
MTU: 1500

Wireless
Security: None
Strength: 60
Roaming: No

Proxy
Address Acquisition: Direct

VPN Provider

section is empty


In browser, I get following message:

QUOTE
Unable to connect

Firefox can't establish a connection to the server at 10.224.128.40

In URL field, I see:

10.224.128.40/upload/custom/PK-EDGE-CP/index.html?cmd=login&mac=00:09:34:5a:84:5c&ip=192.168.0.11&essid=%20&url=http%3A%2F%2neverssl%2Ecom%2F




*** Please note that I altered a few letters/numbers in the URL above.

Again, the Gemini PDA connects OK to my WiFi network at home, but there I am able to enter password myself.

If you need me to check on some things and provide info, let me know.

Any suggestions of what to do to be able to get to the login page would be greatly appreciated!

Thanks,

Mark
ArchiMark
Reading about Connman online....

Want to find the file that is holding the name servers info, so I can delete the current google server info.

Just looked at the 'settings' file in /var/lib/connman.

Not much there...but here's what's written (changed name of guest network to hide company name):

QUOTE
OfflineMode=false

[WiFi]
Enable=true
Tethering=false
Tethering.Identifier=XxxxxxGuest


[Bluetooth]
Enable=true
Tethering=false



Just tried to check what is in /var/lib/connman/wifi_0009345a845c_4b61697365724775657374_managed_none directory and can't get in.

QUOTE
$ cd ./wifi_0009345a845c_4b61697365724775657374_managed_none
Permission denied

$ sudo cd ./wifi_0009345a845c_4b61697365724775657374_managed_none
sudo: cd: command not found



Any suggestions?

Thanks,

Mark


jutleys
I know this is the first release but its not that much usable for everyday use i hope a updated revision is out soon.
tuk0z
QUOTE(Adam Boardman @ May 16 2018, 05:25 PM) *
Gretch - We changed our kernel so that it doesn't use F11/12 for the lid switch:
https://github.com/gemian/gemini-linux-kern...47c8967963d6b0f
(...)

@Adam, am one the « your-Gemini-pda-production-started-May-2 » guy. Super glad that you started Gemian up.
ArchiMark
Would greatly appreciate it if anyone could please assist with the issue of my not being able to connect to the guest WiFi network at my workplace location.

Please see posts 30 - 31 on page 2 of this thread.

It is very frustrating to not be able to have internet connection on my Gemini on Monday - Friday, 8 - 10 hours a day!

If I can't figure this out soon, I might have to sell Gemini.

So, any help will be truly appreciated greatly!

Mark
Grench
QUOTE(ArchiMark @ May 25 2018, 07:59 AM) *
Would greatly appreciate it if anyone could please assist with the issue of my not being able to connect to the guest WiFi network at my workplace location.

Please see posts 30 - 31 on page 2 of this thread.

It is very frustrating to not be able to have internet connection on my Gemini on Monday - Friday, 8 - 10 hours a day!

If I can't figure this out soon, I might have to sell Gemini.

So, any help will be truly appreciated greatly!

Mark


At some point in the process of evaluating a problem it can be useful to consider what works.

Are you dual booting Debian and Android? If so, try connecting with Android. If that works, the hardware is good and it's a Debian setting issue. If Android doesn't work, then there may be some weird hardware incompatibility between your Gemini and the particular access point or model that you are trying to connect to.

I have seen it before where a device works on every wireless access point but one - and that one access point connected to everything else fine.

I initially had issues connecting my Gemini to my work network. I tried various settings, etc - no good. Then on a whim I tried to connect in another area of the building using the default settings - all good. Once connected and authenticated on the far access point, it now works on the near access point. Try forgetting the network, go to near a different access point and try again?
ArchiMark
QUOTE(Grench @ May 25 2018, 09:25 AM) *
QUOTE(ArchiMark @ May 25 2018, 07:59 AM) *
Would greatly appreciate it if anyone could please assist with the issue of my not being able to connect to the guest WiFi network at my workplace location.

Please see posts 30 - 31 on page 2 of this thread.

It is very frustrating to not be able to have internet connection on my Gemini on Monday - Friday, 8 - 10 hours a day!

If I can't figure this out soon, I might have to sell Gemini.

So, any help will be truly appreciated greatly!

Mark


At some point in the process of evaluating a problem it can be useful to consider what works.

Are you dual booting Debian and Android? If so, try connecting with Android. If that works, the hardware is good and it's a Debian setting issue. If Android doesn't work, then there may be some weird hardware incompatibility between your Gemini and the particular access point or model that you are trying to connect to.

I have seen it before where a device works on every wireless access point but one - and that one access point connected to everything else fine.

I initially had issues connecting my Gemini to my work network. I tried various settings, etc - no good. Then on a whim I tried to connect in another area of the building using the default settings - all good. Once connected and authenticated on the far access point, it now works on the near access point. Try forgetting the network, go to near a different access point and try again?


Thank you for your help, Grench!

Good point about checking with Android....

I am dual booting, so, just checked with Android and I can get to the login page OK.

So, clearly there's an issue with Debian setup. Was assuming it relates to something with Connman, the program that is included in the Debian image file, that manages WiFi connections.

I will try your suggestion to try and connect in other part of building. The signal is not the strongest in my own office.

Will report back after I try other locations.

Mark
ArchiMark
Tried in area close to access point, but still won't connect to the login page....

Still get same error message that the page is unreachable.

ERR_ADDRESS_UNREACHABLE


Dang......


sad.gif


Mark
ArchiMark
Any other suggestions regarding connecting to my workplace guest WiFi network with captive portal login?

As noted in posts above, I can connect OK when using Android. Problem is not being able to get to the login page when using Debian with Connman.

Would really like to get this solved, as I spend most of my time during the week at the office, so, would be great to be able to connect to internet while I am here.

Thank you.

Mark
ArchiMark
Just tried ping and got:

CODE
$ sudo ping -c 4 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84 bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=21.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=20.4 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=23.2 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=28.2 ms

--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004 ms
rtt min/avg/max/mdev = 20.433/23.365/28.278/3.012 ms



Seems like I'm able to reach internet.....so, why can't I get to login page????

ArchiMark
Additional info regarding Connman and internet connection issue....

When I look at the Details tab screen in Connman, under heading Name Servers, it shows

QUOTE
Name Servers
8.8.4.4
8.8.8.8



I clicked Configuration button and deleted the numbers and tried connecting again.

Still can't get to login page.

When I looked at the Details tab screen again, it shows the numbers (as shown above) again.

Can someone please assist?

This is driving me nutz.....and makes having the Gemini not useful.

Thanks,

Mark
Adam Boardman
An alternative option to try is to flip to NetworkManager.

If you want to try this something along the lines of:

sudo apt-get install network-manager network-manager-gnome plasma-nm

Switch from connman to NetworkManager (this may actually have been done by the above install, but just in case, and if you want to switch back you can swap the enable/disable to reverse it):

sudo systemctl stop connman
sudo systemctl disable connman
sudo systemctl enable NetworkManager
sudo systemctl start NetworkManager

reboot to clear out any lingering connman configured bits and bobs

lxqt-menu -> Preferences -> Network Connections

Add new wifi etc.
ArchiMark
Thanks for your help, Adam!

Only thing is that I can't connect to internet now, so, can't install NetworkManager....

I will try to go somewhere at lunch today that has free wifi and see if I can connect to their network.

If so, will install NetworkManager and then try at office again.

Otherwise, will have to wait until this weekend to install and then try at office again on Monday.....

So it goes...
ArchiMark
Went to a place that has free wifi....

I was able to get to their login page and connect to network!

Installed NetworkManager....


Came back to office and tried to connect to my company guest network.

Still no go...... huh.gif

I now get this error message in browser:

QUOTE
This site can't be reached

The webpage at http://neverssl.com/ might be temporarily down or it may have moved permanently to a new web address.

ERR_NAME_RESOLUTION_FAILED



Any other suggestions???

Thanks!


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.
Adam Boardman
Oh if you just have name resolution failure then check your /etc/resolv.conf if empty/absent pop the usual default you mentioned before of nameserver 8.8.8.8 (I had thought that the reboot would make that bit work)
ArchiMark
QUOTE(Adam Boardman @ Jun 8 2018, 09:34 AM) *
Oh if you just have name resolution failure then check your /etc/resolv.conf if empty/absent pop the usual default you mentioned before of nameserver 8.8.8.8 (I had thought that the reboot would make that bit work)


Thanks for your continued help....

Tried to look at resolv.conf, but it wasn't found....

Looked inside /etc and saw resolv.conf, but it was in shown in red.

Did

CODE
$ ls -al

lrwxrwxrwx  1  root  root      24   Nov    3   2016  resolv.conf  -> /run/conman/resolv.conf



Nothing shown in /run/connman.....

What do I do now?

Thanks.
ArchiMark
QUOTE(Adam Boardman @ Jun 8 2018, 09:32 AM) *
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!
ArchiMark
UPDATE...

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

CODE
$ 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?
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.
ArchiMark
QUOTE(Adam Boardman @ Jun 8 2018, 10:59 AM) *
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
$ 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!
Adam Boardman
The file your trying to remove is /etc/resolv.conf?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.