LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-27-2016, 11:19 AM   #1
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Rep: Reputation: Disabled
Wireless and Wired access


My chalenge today:
My notebook can be wired, if so, I can reach other server and print, but can't navigate. The proxy is ok.
When turn off wired, and turn on wireless, I can navigate only.
The DNS and routes are ok. The same in two cases.
Any ideas ?

I need to make available to the users, the choice of using one or other.
Now they can do that, but using Windows.
I am working to change the windows to linux on the most.

netstat -rn on both
wired
Destino Roteador MscaraGen. Opes MSS Janela irtt Iface
0.0.0.0 172.19.24.1 0.0.0.0 UG 0 0 0 enp8s0
172.19.24.0 0.0.0.0 255.255.254.0 U 0 0 0 enp8s0
172.22.1.175 172.19.24.1 255.255.255.255 UGH 0 0 0 enp8s0
192.168.124.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0


wireless
Destino Roteador MscaraGen. Opes MSS Janela irtt Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlp5s0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlp5s0
192.168.124.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0

Distro = fedora23

Last edited by thomazp; 01-27-2016 at 12:03 PM.
 
Old 01-28-2016, 12:20 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
It doesn't have to be either wired or wifi - usually there's some bios option like 'fast internet switching' and you can toggle that.

The routes should hardly be the same - to the internet and the network printer?

I would try putting the print server in /etc/hosts, as it's a fixed ip, and going for internet.
What does 'route -v' reveal?
 
Old 01-28-2016, 05:35 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
The IP addresses are vastly different.
 
Old 01-29-2016, 07:44 AM   #4
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Wifi:
# route -v
Tabela de Roteamento IP do Kernel
Destino Roteador MáscaraGen. Opções Métrica Ref Uso Iface
default vivospeedy 0.0.0.0 UG 600 0 0 wlp5s0
192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp5s0
192.168.124.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0

Wired:
# route -v
Tabela de Roteamento IP do Kernel
Destino Roteador MscaraGen. Opes Mtrica Ref Uso Iface
default gateway 0.0.0.0 UG 100 0 0 enp8s0
172.19.24.0 0.0.0.0 255.255.254.0 U 100 0 0 enp8s0
172.22.1.175 gateway 255.255.255.255 UGH 100 0 0 enp8s0
192.168.124.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0

See if its ok.
Sorry for the delay.

Last edited by thomazp; 01-29-2016 at 09:28 AM.
 
Old 01-29-2016, 10:43 AM   #5
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
I couldn't try the Business_Kid tick because here we have same security restrictions, so probably I won't be able to print from external access.
For example, here we have some network drives we can use, but we can't share an internal folder from an user machine (own), we must use the network drives.

I forgot:
distro= fedora23
Winbind and smb(4.3.3) running.
Kerberos installed.

Last edited by thomazp; 01-29-2016 at 12:15 PM. Reason: Adding info
 
Old 01-30-2016, 06:21 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
It seems you have 2 main routes:

--> to network 192.168.1.x for wifi & internet.
--> to internal network 172.x.x.x for print server. You're reaching the printer(?) @ 179.19.24.0 via the gateway @ 172.22.1.175. Am I correct?

My question is, can you reach the gateway by wifi (usb wifi adapters are available for €10 on ebay) or the internet by wired? Find out from your sysadmin what gives.
 
Old 02-01-2016, 04:07 AM   #7
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
No,
I am not reaching printer using wifi. only wired (because of the security restrictions).
Correcting information.

Last edited by thomazp; 02-01-2016 at 04:50 AM. Reason: correcting info.
 
Old 02-01-2016, 04:59 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Well, if that route is blocked administratively, and you can't reach the internet by wired, it looks like you're stuck using 2 network channels. There is probably a way to reach the internet via the cable connection. As they are two different networks, talk with the sysadmin.
 
1 members found this post helpful.
Old 02-01-2016, 05:32 AM   #9
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
But when using Windows, I can do the both (surfing and printing ) wired and cabled.
I need to offer the same when using Fedora.
Thanks for helping me.

I forgot to add:
When cabled I can map network drives using mount \\<IP>
But only shared drives.

Last edited by thomazp; 02-01-2016 at 09:28 AM. Reason: Adding info.
 
Old 02-01-2016, 11:27 AM   #10
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Automating conection ?

I saw I need:
A script saying address like 172.26.X.X (we have other subnets) or printing, go by here <wired>
Else
Go by here: Wifi.
Is it possible ?
Because now, I need to do it manually. Including have to disable the other interface to have accesss.
Tks,

Last edited by thomazp; 02-01-2016 at 01:10 PM. Reason: Adding info
 
Old 02-02-2016, 04:08 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
5hosescripts are called ip routes. Man ip or man route.
 
Old 02-02-2016, 05:10 AM   #12
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
You are saying I can add a static route ?
If so, will be done .
Thanks
I post the results here.

I noticed I can do this using proxy configuration.
At least it exists in UBUNTU, I don't know in Fedora.
Tks

Last edited by thomazp; 02-02-2016 at 06:40 AM. Reason: Finnishing thread
 
Old 02-02-2016, 01:43 PM   #13
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
I saw this solution:
http://www.server-world.info/en/note...22&p=squid&f=2
I will try.
Thanks everybody,
 
  


Reply

Tags
access, wired, wireless



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
no access to config on wired access, but modem/router and wired access point work littlejoe5 Linux - Networking 1 10-22-2014 02:40 PM
Unable to access wired or wireless ethernet connections rmcellig Linux - Networking 12 04-25-2014 04:02 AM
[SOLVED] can't access wired Desktop from wireless notebook, subnets problem? yancek Linux - Wireless Networking 2 04-24-2014 07:31 PM
problems with both wireless and wired ethernet network access linux002 Linux - Networking 3 09-05-2013 05:03 PM
Wireless Access On Wired Network Terje Linux - Wireless Networking 1 02-03-2005 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:31 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
Open Source Consulting | Domain Registration