LinuxQuestions.org
Review your favorite Linux distribution.
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 02-04-2016, 11:37 AM   #1
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Rep: Reputation: Disabled
I still can't browse the network and use web at same time


I still can't browse the network/print and use web at same time.
I have 2 different connections , and couldn't use both at same time, have to disable one to use the other, and the inverse.
Using wired: I can browse the network and print .
Using wifi: I can surf in the web.
I can't access and print from the web because of security issues.
Is there any way to solve this ?
Thanks
Edit/Delete Message
 
Old 02-04-2016, 11:47 AM   #2
fjennings
LQ Newbie
 
Registered: Oct 2015
Location: Phoenix, AZ
Distribution: CentOS, Ubuntu, Debian, Oracle, Red Hat
Posts: 17

Rep: Reputation: 1
Are they on the same subnet? Is the WiFi in a guest mode configuration? Could you provide a lot more details?
 
Old 02-04-2016, 11:56 AM   #3
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Yes I put the netstat -rn on both:
The are in different subnets. I will try to put:
Wifi:
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

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

An way is doing a script to block one and enable the other, but I am trying to automatize this.
Because the final user won't be happy in moving from windows , where this is done automatically, now.
Thanks,

Last edited by thomazp; 02-04-2016 at 12:13 PM.
 
Old 02-04-2016, 03:14 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
What is ifconfig say?

What is the topology of the lan?
 
Old 02-04-2016, 03:21 PM   #5
fjennings
LQ Newbie
 
Registered: Oct 2015
Location: Phoenix, AZ
Distribution: CentOS, Ubuntu, Debian, Oracle, Red Hat
Posts: 17

Rep: Reputation: 1
Yeah, what you put didn't help, use ifconfig. And please provide more details than that.

Let me add something for you as well...It's generally not a good idea to have a system use 2 different connections at the same time. Use 1 connection at a time, leave the other disabled. Also, what net are the printers and files on? If they are one subnet, are they even routable to the other?
 
Old 02-05-2016, 05:03 AM   #6
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Here is:
# ifconfig -a
enp8s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:26:9e:b7:43:09 txqueuelen 1000 (Ethernet)
RX packets 21320 bytes 1899361 (1.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1561 bytes 139945 (136.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Loopback Local)
RX packets 741 bytes 61920 (60.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 741 bytes 61920 (60.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.124.1 netmask 255.255.255.0 broadcast 192.168.124.255
ether 52:54:00:3e:5a:f7 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0-nic: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 52:54:00:3e:5a:f7 txqueuelen 500 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.43 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::224:d6ff:fe58:c5d0 prefixlen 64 scopeid 0x20<link>
ether 00:24:d6:58:c5:d0 txqueuelen 1000 (Ethernet)
RX packets 144644 bytes 183216194 (174.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 91828 bytes 11300647 (10.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Sorry for the delay.
This is when wifi.
Probably the same when wired.
Tks,
 
Old 02-05-2016, 05:21 AM   #7
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,620

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
The picture is not quite clear

RE:
Quote:
Are they on the same subnet? Is the WiFi in a guest mode configuration? Could you provide a lot more details?
VERY critical question, well asked!
RE:
Quote:
t's generally not a good idea to have a system use 2 different connections at the same time. Use 1 connection at a time, leave the other disabled.
This is actually quite wrong. At work we often have servers on four networks at the same time. My laptop is normally on two (one wired, one wifi, at the same time. The solution is in the routing.

Your default router should be on the connection that gets you to the world. The interface for the local network does not need a router, as you are only addressing devices within the local network.

The problem the OP has, if I read the ifconfig output right and lacking a clear map of the network plan, is that the subnets collide. IF both the wired and wifi networks use the same subnet (or overlap) then THAT would prevent you from being on both at the same time. If that IS in fact the problem, the solution is a network reconfiguration to avoid the collision: most likely not within the OP's authority.

I hope this helps....
 
Old 02-05-2016, 05:27 AM   #8
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Replying,
Are different subnets.
We have some security issues here, and this wifi access are allowed to visit all the internet. Because I need to browse some sites, the internal cannot browse.
Note: This wifi isn't in the building I am, it is completely different

wpeckham
If I let one connection disabled, I couldn't do my job.
I need to alternate them during my work.
Because, when wired, I can map network drives(using SAMBA), send/receive mails , print and access the servers (ssh) .
When wifi, I can browse the web, but can't do the other things. because the wifi access aren't in the same subnet and the security doesn't allow the external do this things (print/map/ssh).
The better to do is enabling to navigate the web when wired.
Undestood ?
Thanks

Last edited by thomazp; 02-05-2016 at 09:40 AM. Reason: Adding response.
 
Old 02-05-2016, 01:09 PM   #9
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
They asked me here to continue this tests using UBUNTU. :-(
I will perform since wednesday afternoon, because monday and tuesday are holidays here in Brazil.
I have to deliver a machine like an Windows one. Have to integrate it like this one.
Thanks.
I'll continue since feb/10 .
Best 4 you,
 
Old 02-05-2016, 04:24 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
This confuses me.

"enp8s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:26:9e:b7:43:09 txqueuelen 1000 (Ethernet)"

This I assume would be internal nic. Notice it is up but not assigned any IP info.

The virtual nics are assigned. Do you have some virtual machines as part of this deal?


"wlp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.43 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::224:d6ff:fe58:c5d0 prefixlen 64 scopeid 0x20<link>"

The wireless is assigned both IPv4 and IPv6 which may or may not be great. Some folks may have to disable IPv6 but I doubt it is your issue.

When you say you can't access both at same time what ifconfig is this from? Both connected to lan and wan?
 
Old 02-05-2016, 07:03 PM   #11
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Answer

This is written in the post, this is when are Wi-Fi, I can put the wired one only next week, I Will look for, because I've postei in another Forum,
I Will continue this tests using Ubuntu.
Tks,
 
Old 02-05-2016, 08:09 PM   #12
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,620

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
Hmmm.

Quote:
Originally Posted by thomazp View Post
Replying,

wpeckham
If I let one connection disabled, I couldn't do my job.
I need to alternate them during my work.
Because, when wired, I can map network drives(using SAMBA), send/receive mails , print and access the servers (ssh) .
When wifi, I can browse the web, but can't do the other things. because the wifi access aren't in the same subnet and the security doesn't allow the external do this things (print/map/ssh).
The better to do is enabling to navigate the web when wired.
Undestood ?
Thanks
You miss my point.
My laptop is on wired network, getting network drives from two servers on the isolated internal network.
My laptop also has a wifi connection and, using that network, is browsing the internet and even logging into linuxquestions.org.
Both networks at the same time, not alternating! Nothing special here, just mint, but I do the same thing with Windows, SPARKY, Debian, and CentOS.

If there is not network reason in the subnet usage, and nothing is forced when you join one that somehow disables the other, I see no reason you could not do the same. Therefore there is something you have not been able to show us that IS forcing this, or one of us is not understanding what is really going on.

I am looking forward to seeing the results of your ifconfig (and perhaps netstat -rn) both wired and wifi to compare against each other.

Last edited by wpeckham; 02-05-2016 at 08:10 PM.
 
  


Reply

Tags
browse, network, print, wired, wireless


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i get Konqueror to web browse again? Lleb_KCir Linux - General 5 07-22-2005 05:42 PM
What do you use to browse the web? DeusExLinux Linux - Software 20 11-29-2004 08:33 AM
cant browse the web greyfox007 Mandriva 23 04-02-2004 09:37 PM
Cant Browse the Web daniel5455 Slackware 3 04-17-2003 10:17 PM
Can't browse the web..... eForce Linux - Networking 7 07-07-2002 08:30 PM

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

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