LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 10-05-2016, 03:10 AM   #1
travis82
Member
 
Registered: Feb 2014
Distribution: Slackware
Posts: 429

Rep: Reputation: 218Reputation: 218Reputation: 218
How does LQ detect users OS?


Of course this is not a problem.
I'm just curious to know how does LQ detect users OS?

I notice lack of consistency regarding this issue:

- Windows detected correctly regardless of browser which I use.
- Ubuntu derivatives detected just when I use firefox to access LQ.
- Slackware and Debian aren't detected at all and tux head is shown as my OS in my posts.
- When I use my old Nokia 6120 to visit LQ by opera mini, a question mark is appeared in my posts.
 
Old 10-05-2016, 05:48 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,965

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Most likely detection is based on the browser "User Agent String" - http://www.useragentstring.com/

If you've a browser that supports modifying / deleting the User Agent String then you can play with it and see
 
Old 10-05-2016, 06:50 AM   #3
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 3,681
Blog Entries: 10

Rep: Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017
Using Firefox under Crux, I see the penguin's head (unspecified Linux). With Firefox under LFS, I often get a question mark (unknown OS). It seems to depend on what I was using when I made the post, not what I am currently using.

Last edited by hazel; 10-05-2016 at 06:51 AM.
 
Old 10-05-2016, 10:35 AM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,039

Rep: Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762
This has been covered in depth in the past, and it is indeed User-Agent at the time of each post that it used.

--jeremy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tbl Users.guide | troff tmac.n - > Users.fmtd causes fatal error. stf92 Linux - Newbie 0 07-05-2010 08:03 PM
Anyone knows where to find the fw-detect command ? (for firmware/wireless detect) frenchn00b Debian 5 01-13-2010 06:53 AM
detect and limit ssh tunnel users allancuntapay Linux - Security 3 10-21-2009 02:50 AM
LXer: Linux Users Still Left Out, Why Source Code Matters to End Users LXer Syndicated Linux News 0 10-15-2009 11:51 PM
How to detect samba users when trying to shutdown linux server Darick Ang Linux - Networking 2 07-14-2003 04:37 PM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 01:51 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration