LinuxQuestions.org
Help answer threads with 0 replies.
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 04-05-2009, 09:36 AM   #1
shredi
LQ Newbie
 
Registered: Jun 2007
Posts: 17

Rep: Reputation: 0
can't use network connections simultaniosly


I've got kubuntu 8.10 running and I use verizon dhcp card for internet access. I also have a wireless home network. I am using knetwork manager and I cannot use two interfaces at the same time. I have to go to knetwork manager and disable the wireless (eth1) in order for the dhcp card to work. I have gone to the routing table and all routes are present, i've added ppp0 (dhcp card) as default, but I still have the same problem.
 
Old 04-05-2009, 09:46 AM   #2
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
Have you tried disable NetworkManager? This once happened to me when I try to connect my WM6 as dial-up modem (rndis0)and my wlan0 died.

Last edited by hurry_hui; 04-05-2009 at 09:47 AM. Reason: Spelling
 
Old 04-05-2009, 10:03 AM   #3
shredi
LQ Newbie
 
Registered: Jun 2007
Posts: 17

Original Poster
Rep: Reputation: 0
What would I use to manage the connections if not knetwork manager?
 
Old 04-05-2009, 10:39 AM   #4
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
Well, if you cannot connect to network manually and you need networkmanager to manage your connection either wired or wireless, then disabling one of devices is the best practice. Somebody please correct me if I am wrong. Anyway you have alternative like wicd.

Last edited by hurry_hui; 04-05-2009 at 10:41 AM.
 
Old 04-05-2009, 10:47 AM   #5
camh
Member
 
Registered: Feb 2005
Distribution: Slack/Debian
Posts: 163
Blog Entries: 2

Rep: Reputation: 33
Are you using DHCP on your wireless card as well? If so, you might want to check your /etc/resolv.conf file. If your wireless card is obtaining an IP address after your external interface, resolv.conf is likely being overwritten with nameserver information from your wireless network. This would prevent you from being able to do DNS lookups to the internet.
 
Old 04-05-2009, 06:28 PM   #6
shredi
LQ Newbie
 
Registered: Jun 2007
Posts: 17

Original Poster
Rep: Reputation: 0
no problem with that. The issue is that I need to disable one in order to use the other. So for instance if I'm on the internet , using the verizon dhcp card I cannot go out on my local network using the wlan (eth1) to get a file etc. I need to disable the verizon dhcp then enable the wlan to get on the local network. After I'm done on the local network I need to disable the wlan connection and enable the verizon dhcp then go to the routing table and add ppp0 (the verizon card) as a default route in order to get back on the internet. So you can see it just a bit of a hassle.
 
Old 04-05-2009, 06:37 PM   #7
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
i would use w package like firestarter
http://www.fs-security.com/
and set the verizon card as the external interface (ppp0) as the external interface and the internal interface (eth1) as the internal interface, i used this to share a dialup modem connection with a lan (until i got dsl)
this could also be done direclty with iptables, but would require you to know how to use iptables
 
Old 04-06-2009, 01:50 AM   #8
camh
Member
 
Registered: Feb 2005
Distribution: Slack/Debian
Posts: 163
Blog Entries: 2

Rep: Reputation: 33
What does your routing table look like when you have both interfaces enabled?

Quote:
So for instance if I'm on the internet , using the verizon dhcp card I cannot go out on my local network using the wlan (eth1) to get a file etc. I need to disable the verizon dhcp then enable the wlan to get on the local network
What happens if you try to ping a computer on your internal network in this situation?
 
Old 04-07-2009, 08:47 AM   #9
shredi
LQ Newbie
 
Registered: Jun 2007
Posts: 17

Original Poster
Rep: Reputation: 0
thank you frieza, firestarter did the trick. Now I can go on to the next challenge and share the internet connection on the local net.
 
  


Reply



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
Control of Network Connections/network startup question Fedora 9 Gnome benkerndt Fedora 2 01-06-2009 07:14 PM
using firestarter with two network connections sh4d0w13 Linux - Networking 1 01-01-2006 03:01 PM
Network Connections RedRaven Linux - Networking 6 12-19-2004 11:19 PM
How to bridge network connections.... Fireblade74 Linux - Newbie 3 04-17-2004 03:43 PM
2 network cards, 2 network connections - routing problem tvojvodi Linux - Networking 4 02-24-2004 03:26 PM

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

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