Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-30-2016, 10:23 PM
|
#1
|
Member
Registered: Oct 2008
Posts: 908
Rep:
|
how to get wifi and rj45 ccess different networks simultaneously
i am using ubuntu 64bit
Code:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
$ uname -a
Linux lxuser-ThinkPad-R400 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
i use internet via wifi and access a switch using ethernet port
Code:
root@lxuser-ThinkPad-R400:~# ifconfig
enp0s25 Link encap:Ethernet HWaddr 00:24:7e:16:87:b6
inet addr:10.3.255.102 Bcast:10.3.255.255 Mask:255.255.255.0
inet6 addr: fe80::979e:ab05:c90d:ff91/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3095 errors:0 dropped:0 overruns:0 frame:0
TX packets:236 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:257660 (257.6 KB) TX bytes:29346 (29.3 KB)
Interrupt:20 Memory:fc000000-fc020000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:13872 errors:0 dropped:0 overruns:0 frame:0
TX packets:13872 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:4584707 (4.5 MB) TX bytes:4584707 (4.5 MB)
wlp3s0 Link encap:Ethernet HWaddr 00:22:fa:cb:4b:5a
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::e9d9:941b:1058:b7f4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14794 errors:0 dropped:0 overruns:0 frame:0
TX packets:13273 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14159429 (14.1 MB) TX bytes:1710646 (1.7 MB)
My wifi works . When I connect ethernet cable then internet (wifi is the access source) does not .
Switch access is on 10.3.255.something and wifi is on 192.168.1.something .
Both networks don't conflict .
How can I get both to work simultaneously ?
Thanks.
PS:link-local does not allow setting ip on an interface .
Last edited by sumeet inani; 12-31-2016 at 12:16 AM.
Reason: PS
|
|
|
12-31-2016, 08:07 AM
|
#2
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
routing ?
$ route -n
# netstat -r
Basically 3 parts, the interface needs an ip, the firewall needs to allow the use of the interface, and the routing needs to tell it how to use the interface. If it's not one of those three then hardware might be the issue. These 3 parts need to be in play on both ends of any network connection. DHCP normally does most of this setup for you, but it can be done manually.
|
|
|
12-31-2016, 08:08 AM
|
#3
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
...
Last edited by Shadow_7; 12-31-2016 at 01:38 PM.
Reason: duplicate?
|
|
|
12-31-2016, 08:39 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,187
|
Quote:
Originally Posted by sumeet inani
i am using ubuntu 64bit
Code:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
$ uname -a
Linux lxuser-ThinkPad-R400 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
i use internet via wifi and access a switch using ethernet port
Code:
root@lxuser-ThinkPad-R400:~# ifconfig
enp0s25 Link encap:Ethernet HWaddr 00:24:7e:16:87:b6
inet addr:10.3.255.102 Bcast:10.3.255.255 Mask:255.255.255.0
inet6 addr: fe80::979e:ab05:c90d:ff91/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3095 errors:0 dropped:0 overruns:0 frame:0
TX packets:236 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:257660 (257.6 KB) TX bytes:29346 (29.3 KB)
Interrupt:20 Memory:fc000000-fc020000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:13872 errors:0 dropped:0 overruns:0 frame:0
TX packets:13872 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:4584707 (4.5 MB) TX bytes:4584707 (4.5 MB)
wlp3s0 Link encap:Ethernet HWaddr 00:22:fa:cb:4b:5a
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::e9d9:941b:1058:b7f4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14794 errors:0 dropped:0 overruns:0 frame:0
TX packets:13273 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14159429 (14.1 MB) TX bytes:1710646 (1.7 MB)
My wifi works . When I connect ethernet cable then internet (wifi is the access source) does not .
Switch access is on 10.3.255.something and wifi is on 192.168.1.something .
Both networks don't conflict .
How can I get both to work simultaneously ?
Thanks.
PS:link-local does not allow setting ip on an interface .
|
Sounds very familiar:
http://www.linuxquestions.org/questi...etwork-939878/
http://www.linuxquestions.org/questi...cs-4175504445/
After asking about routing for years, can none of what you've been told before apply?
|
|
|
01-01-2017, 04:37 PM
|
#5
|
Member
Registered: Oct 2016
Distribution: iPadLinux
Posts: 81
Rep:
|
Hello #Sumeet. I've seen a shorter routing command as required posting on LQ: ip r
I didn't understand link-local, so I checked wiki and saw it is the mysterious 169.254.. which I get when ISP connection not working.
Yes, more perfect posting would avoid the hidden reply above. I didn't want to click on the "Remove user" link on the above post, sorry; above poster has been repeatedly warned to learn basic human NVC and follow LQrules to no avail.
|
|
|
01-01-2017, 06:13 PM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,187
|
Quote:
Originally Posted by iPad
Hello #Sumeet. I've seen a shorter routing command as required posting on LQ: ip r
I didn't understand link-local, so I checked wiki and saw it is the mysterious 169.254.. which I get when ISP connection not working.
Yes, more perfect posting would avoid the hidden reply above. I didn't want to click on the "Remove user" link on the above post, sorry; above poster has been repeatedly warned to learn basic human NVC and follow LQrules to no avail.
|
Before going off on how bad the reply is, you may want to check out the OP's posting history. You may also want to spell the OP's name correctly, if you're so concerned about their feelings, and since you say you don't want to even READ a reply, how can you comment on its content?
If you have a problem with the post, then REPORT IT...if you can, you may also want to point out how it violates the LQ Rules. Your post certainly violates LQ Rules, by violating:
Quote:
Originally Posted by LQ Rules
- Do not post if you do not have anything constructive to say in the post.
- When posting in an existing thread, ensure that what you're posting is on-topic and relevant to the thread.
|
Please, show us where you've helped the OP with your reply, which didn't address any of their issues. The OP has been asking such questions for FIVE YEARS now; asking them why they can't apply knowledge they've been given multiple times before certainly seems valid.
Last edited by TB0ne; 01-01-2017 at 06:24 PM.
|
|
|
01-01-2017, 10:15 PM
|
#7
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
Quote:
Originally Posted by iPad
Hello #Sumeet. I've seen a shorter routing command as required posting on LQ: ip r
I didn't understand link-local, so I checked wiki and saw it is the mysterious 169.254.. which I get when ISP connection not working.
Yes, more perfect posting would avoid the hidden reply above. I didn't want to click on the "Remove user" link on the above post, sorry; above poster has been repeatedly warned to learn basic human NVC and follow LQrules to no avail.
|
The 169.254.. route is generally setup by avahi. And happens when no other route is available, it's a dummy route, something about audio or some such. I tend to stop avahi and delete that route when I see it. Although generally I avoid installing things (or distros) that install avahi to avoid such issues / quirks / features / innovations / ...
|
|
2 members found this post helpful.
|
01-02-2017, 10:09 AM
|
#8
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,894
|
@sumeet inani this thread has been closed. Please contact administrators if you wish to provide additional follow-up on this thread topic and it can be reopened. Please also note that starting threads and failing to follow up on discussion points or respond to questions for additional information makes it more difficult for other LQ members to provide you with any assistance. Since you have started other threads, responded to those threads, and marked them solved since this one has been opened, my assumption is that you are not going to provide any update which can help any of Shadow 7, TB0ne, or iPad be of any assistance with your problem. In the future if you find a solution, it is helpful to others who see the same problem to know that you have found a solution and what solved the problem.
|
|
|
All times are GMT -5. The time now is 04:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|