LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-03-2023, 04:18 AM   #31
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 401

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367

Are the DNS well set par dhcp ?

Is /etc/resolv.conf saying something ?

For example I have :
-------------
# Generated by NetworkManager
search home mars.bidon
nameserver 192.168.1.1
nameserver 2a01:cb04:152:8f00:aa6a:bbff:fe77:adf0
 
Old 11-03-2023, 06:45 AM   #32
rudolfii
LQ Newbie
 
Registered: Jan 2023
Posts: 20

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by BrunoLafleur View Post
Are the DNS well set par dhcp ?

Is /etc/resolv.conf saying something ?

For example I have :
-------------
# Generated by NetworkManager
search home mars.bidon
nameserver 192.168.1.1
nameserver 2a01:cb04:152:8f00:aa6a:bbff:fe77:adf0

It says:
; cat /etc/resolv.conf
# Generated by NetworkManager
search login.stonet.cc doma.org
nameserver 192.168.11.1
;

Thanks.
R
 
Old 11-03-2023, 11:44 AM   #33
rudolfii
LQ Newbie
 
Registered: Jan 2023
Posts: 20

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by rudolfii View Post
It says:
; cat /etc/resolv.conf
# Generated by NetworkManager
search login.stonet.cc doma.org
nameserver 192.168.11.1
;

Thanks.
R
... and at this moment I have no idea where that login.stonet.cc comes from...
(Though, it probably does not relate to my main problem.)
R

Last edited by rudolfii; 11-03-2023 at 11:45 AM.
 
Old 11-03-2023, 12:25 PM   #34
rudolfii
LQ Newbie
 
Registered: Jan 2023
Posts: 20

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by rudolfii View Post
It says:
; cat /etc/resolv.conf
# Generated by NetworkManager
search login.stonet.cc doma.org
nameserver 192.168.11.1
;

Thanks.
R
After experimenting with my /etc/resolv.conf I, eventually, see
something. I have removed the 'search' line completely (that should
not matter, moreover, I do not understand where the 'login.stonet.cc'
comes from). Next, I was changing the nameserver from the one mentioned
above to 8.8.8.8, and back, a few times. Quite consistently, with
the original 192.168.11.1 I am unable to get to either office365 or
Teams, while I can connect to them with 8.8.8.8 . I do not understand why,
but it behaves so (as it seems).

Surprisingly, it's the 192.168.11.1 that other Windows machines use,
and that works for them.

I do not know what to think about it.

Thanks.

Ruda

Last edited by rudolfii; 11-03-2023 at 12:54 PM.
 
Old 11-03-2023, 12:41 PM   #35
philanc
Member
 
Registered: Jan 2011
Posts: 308

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by rudolfii View Post
... and at this moment I have no idea where that login.stonet.cc comes from...
(Though, it probably does not relate to my main problem.)
R
I wouldn't rule the "search" line out so quickly.

Looking at `man resolv.conf`, I think that a quick way to test if it plays a role is to set the LOCALDOMAIN variable

Code:
The search keyword of a system's resolv.conf file can be overridden 
on a per-process basis by setting the  environment variable LOCALDOMAIN to 
a space-separated list of search domains.
I would try the following: First close ALL instances of firefox already running. Then launch firefox from a terminal with:

Code:
    LOCALDOMAIN="." firefox
or
    LOCALDOMAIN="" firefox
and then attempt to login to Office365
 
Old 11-03-2023, 01:21 PM   #36
philanc
Member
 
Registered: Jan 2011
Posts: 308

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by rudolfii View Post
Quite consistently, with
the original 192.168.11.1 I am unable to get to either office365 or
Teams, while I can connect to them with 8.8.8.8 . I do not understand why,
but it behaves so (as it seems).
Oh I didn't see your last post when I wrote mine :-)

So I guess the "search" line doesn't matter and the issue is with the DNS server in your Wifi router at 192.168.11.1 (except if you have your own DNS server in your LAN)

There must be some slight differences in the DNS requests during the O365 login on Linux, Windows and OpenBSD and that's enough to trip your router DNS server... DNS is a beast!


Using Google (8.8.8.8) is a good solution.
 
Old 11-05-2023, 11:03 AM   #37
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 401

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
Originally Posted by philanc View Post
Oh I didn't see your last post when I wrote mine :-)

So I guess the "search" line doesn't matter and the issue is with the DNS server in your Wifi router at 192.168.11.1 (except if you have your own DNS server in your LAN)

There must be some slight differences in the DNS requests during the O365 login on Linux, Windows and OpenBSD and that's enough to trip your router DNS server... DNS is a beast!


Using Google (8.8.8.8) is a good solution.
Also, /etc/resolv.conf is generated by NetworkManager. In the Network Manager Applet (if you use one for example in KDE) you could add dns entries for this network. An so try 8.8.8.8 without manually change resolv.conf

Did you try to change the DNS without touching the search line ?

You can also add the DNS entries of your internet provider (the real ones and not the one of the box).

Last edited by BrunoLafleur; 11-05-2023 at 11:05 AM.
 
Old 11-06-2023, 08:43 AM   #38
MightyBaba
LQ Newbie
 
Registered: Feb 2022
Distribution: Slackware
Posts: 28

Rep: Reputation: Disabled
You may want to dig further with dig(1). Assuming office365.com is the problem url, you can compare the output of:

$ dig @192.168.11.1 office365.com
$ dig @8.8.8.8 office365.com
$ dig @[your isp DNS server IP] office365.com
 
  


Reply

Tags
ca-certificates, chromium, firefox, office, teams



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: Office 365 alternative: Consider LibreOffice for your next PC office suite LXer Syndicated Linux News 1 08-15-2019 07:17 AM
LXer: Microsoft brings Office 365 data to Android apps LXer Syndicated Linux News 0 03-12-2014 01:30 AM
LXer: VMware Cloud and Zimbra Open Source Email: Countering Microsoft Office 365? LXer Syndicated Linux News 0 05-21-2013 01:01 PM
LXer: LibreOffice OnLine Will Be A Real Competitor To Microsoft Office 365 LXer Syndicated Linux News 0 04-06-2012 01:11 AM
LXer: Zimbra Open Source Email Scores Surprise Win vs. Microsoft Office 365 LXer Syndicated Linux News 0 06-29-2011 08:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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