Debian Configuration :: Wireless Only Works When Ethernet Cable Is Plugged In?
Jul 9, 2011
I have a debian-powered NAS (Buffalo LinkStation) and I want to configure the following behaviour: When ethernet (eth0) is plugged in, connect and get a static ip address (ie. 192.168.0.11) When a wireless usb-adapter (wlan0) is plugged in, connect to a wireless router (ie. "Ankkanet") get another static ip address (192.168.0.12)
My /etc/network/interfaces :
iface lo inet loopback
iface eth0 inet static
what could be causing wireless to disconnect when ethernet cable is unplugged?
When the ethernet cable is plugged in, it doesnt work. I have to unplug the cable, refresh the page and let it wait for the connection, after a second or two, i plug it back in, and it works. this works only for that page, which means only that page loads.. if i try to open another site or smthing else, it doesnt work and i have to repeat the exercise for the new site..i have to unplug, refresh and let it wait for connection and plug it back in.. The same thing happens if i try to download an application.. i have to first issue the command to download, and when it says "connecting to blah blah.." i plug the cable back in and it starts downloading, it doesnt work if the cable is already plugged it..!
Acer 5250-BZ475 laptop, fresh install of Ubuntu 11.04. Boots up beautifully as long as an ethernet cable is plugged in. Otherwise, I get to the login screen and have just enough time to start typing in my password before the entire system hangs hard - no mouse, no keyboard, can't even get to a terminal, nothing. Have to hard power off the machine.
It seems to be a problem with the wireless card trying to initialize, but there doesn't seem to be a bios option to disable wireless on this laptop, so I'm a bit at a loss as to how to fix this problem. By the way, wireless works fine if I boot up with a cable connected - I can see all the wireless access points in my area no problem. I just can't boot without a wired connection, which makes my laptop more or less useless when I'm away from home with it.
For about the past month I have been having a very frustrating problem When I boot the system with the ethernet cable attached it acts as if the cable is unplugged even though the connection light is litWhen I boot the system with the ethernet cable disconnected and wait until it boots all the way to gnome and then plug in the cable everything works fine
I'm a new user of Ubuntu, so i'm not that familiar with this OS. My wireless network is detected but when I'm entering my 128 bits WEP key, it doesn't connect at all. I have no clue where to start troubleshooting.
Here's some of my specs if that's of any help: Computer is a Sony Vaio laptop model VGN-SZ370P My wireless card is from Intel Corporation 82801G (ICH7 Family) USB UHCI Controller
The ethernet cable connection used to work before, but I fooled around with some commands and now seems to be disabled...
I have got a laptop running Debian squeeze. I wish to share the wireless connection of the laptop (wlan0) to the ethernet port of the laptop, so that I can share the wireless connection to my desktop PC which is connected to the ethernet port.
I have read the article on Ubuntu community: [url]
I followed the steps, and the /etc/network/interfaces file on my laptop is:
Now the situation is: My laptop can connect to Internet (i.e. ping debian.org from laptop is fine), my desktop PC can connect to my laptop (i.e. ping 192.168.1.1 from desktop PC is fine). However, the desktop PC cannot reach the Internet.
I also read the information on Debian Wiki: [url]
It seems I must install and configure ebtables before sharing my wireless connection to ethernet port. Is it true? (But why the article on Ubuntu community doesn't mention it?) Or I just made some mistakes?
Just today I installed opensuse 11.3 on my Compaq CQ61. Even though I am able to connect to networks (both with an ethernet cable and wireless) I don't have internet access. I have used opensuse for a very brief period in the past and I had no such problem.
how I could file share, or make the whole Hard Drive (HDD) accessible to another computer. The two other computers I have are a Toshiba Laptop with Ethernet and USB, and a iMac Intel with Firewire, USB, and Ethernet. Putting these to use along with:
Three Ethernet Cables Two Printer Peripheral USB Cables The Two Computers A 2GB Flash Drive
That is all I can think of right now. I do not want to use CDs. In a way, I would like to do a network boot. So, how do I get the whole HDD visible to the others computers (either/both) and be able to write to it? I want to put Xubuntu on it, and earse the rest of the Hard Drive. The computers getting this are the iMac G3s and the eMac G4. The eMac has 256MB RAM, 40GB HDD, and a 700MHz processor. Two iMacs have 128MB RAM, 40GB HDD, and a 600MHz Processor. The other iMac is the same as the rest but has a 500MHz processor.
Using ubuntu 10.10 (pinguy OS) i connected an ethernet cable from my girl's macbook pro to her lenovo ideapad s10-3t to transfer some DS9 episodes onto it. new enough to linux to have not been able to figure out how to access the files on the mac, so i disconnected the ethernet, and the wireless hasn't worked since. tried everything i know, and googling for a while (as well as searching again on this forum) to no avail.
Just before linking the 2 computers via ethernet, the wireless worked fine on the ideapad, always had; but not so after the ethernet connection that did nothing other than apparently kill the wireless. an "lshw -C network" command tells me i have a BCM4313 wireless card, and *-network UNCLAIMED. also, if i launch "install additional drivers", i see that the proprietary driver is not active.
How could merely plugging in an ethernet cable that happened to be conncected to a MBP running OSX.6 do that? and will that happen again? i thought linux was supposed to play real nice with other OS's, so why did a simple file transfer kill my wireless connectivity? i have no access to internet via ethernet cable, so i cannot just download the driver i need now. shouldn't it still be in the computer still? somewhere? is there a simple solution to this, or has the wireless driver been wiped out by plugging in the ethernet? is this a bug that should be reported?
if i would know the terms i could search for it, so bare with my words: i got an old PC, and my ethernet-cables don't fit into its plug (port?). its a little smaller than the usual one. how is it called and what am i looking for (whats the name of the plugs which need to fit, whats the measure. all i could see is male/male and some voodoo stuff like RJ333 <-wrong.
I have a computer with grub installed, and nothing else. I'd like to install Debian on it without having to burn a CD. (and I don't have any flash disks.) It has a nice ethernet card, and I have another computer right next to it with an ethernet card. I also have an ethernet cable. However, I don't have any router free which I can mess with for these purposes. As I've looked up, apparently modern Ethernet cards don't need crossover cables, normal cables will work for this type of connection.
I've tried several different "tutorials" on how to set up a netboot server, but
None of them are complete. All of them assume that you understand how DHCP works, and that you can do things like set up a dnsmasq server. I don't understand the DHCP protocol, with submasks and whatnot (I know that it is the protocol for assigning computer network addresses, and that's it), and I don't think I should have to in order to simply connect two computers. All of the tutorials give you incomplete configuration files, and ask you to fill in things which I don't understand, and for me it doesn't make sense to customize these settings, as I just want to connect them and I really don't care what ip address the TFTP server has or whatnot. All of these assume that you are going through a router. I am not. When I try googling for ways to directly connect two linux computers with an ethernet cable, I can't even find instructions, just more references to "you need crossover cables".
So basically, I have two computers directly connected by ethernet cables. Tell me what packages I need to install, what the contents of my configuration files should look like, and what, if any, commands I need to run in order that when I turn on my second computer, and select network boot, it will start up a minimal debian system.
EDIT: Hmmm, it looks like I actually have a linux kernel installed too, but no root filesystem (so no other programs besides busybox).
I am working on h/w device having linux kernel version 2.6.27 with busybox installed. I observed below problems while working on jffs2 image is flashed on the board.
1)When the board is powered-up with n/w cable is connected, it doesn't get IP address automatically, I have to use "/etc/init.d/networking restart" in init script(/etc/init.d/rcS) to get the IP address.(I am using dynamic addressing)
2)When the board is powered-up with n/w cable is unplugged and plugging-in once the device is started, I get "link up" message from the system, but still the IP is missing in eth0 interface.
I have udhcpc(v1.14.1) installed. Giving below commands manually, get the IP for device:
Code: ifdown eth0 /etc/init.d/networking restart but It is not pretty solution for me !
What I want is, the device should get IP address automatically once the n/w cable is plugged-in. (as we get in desktop m/c's). Am I missing some scripts or configuration parameters?
I have a kubuntu 10.04 box and it runs virtualbox with windows 2000. For the most part, the network cable will be plugged in and i should be able to rdp into my windows 2000 install just fine, however, for testing purposes and for backup server testing, I will not have the cable plugged in all of the time.How would I rdp into that windows 2k install on the same machine if no cable is plugged into the ethernet port?I have both the kubuntu install and the windows 2k install setup with static ip's, but it is not working.
I am trying to get my tevii650 usb DVB-S2 tuner working. I seem to have installed all the correct drivers as far as I can tell.
When I scan for services and then use femon to look at the signal strength femon -H, I get a signal of around 83% with 0 SNR and BER. Then if I remove the feed the signal goes UP to 97% 0SNR and BER.
I am trying to monitor signal the signal level coming down from the satellite. I don't even want to be able to tune to any of the channels. Basically I want to use the PC as a glorified signal meter and datalogger.
I have been encountering this problem, not only on 10.4, but on older versions too: I use a wifi router to connect my laptop to the Internet, but sometimes I need to connect directly to another computer to move some files over GLAN. But Ubuntu's Network manager doesn't allow me to configure the eth0 interface without specifying a gateway (no gateway = grey submit button), but when a gateway is specified, it always rewrites the default gw specified already by the active wifi connection and returns back after unplugging the eth cable.
Of course this can be solved by a few route commands, but this is unacceptable since it is needed to establish the cable connection without any further assistance from within and as well without replacing the default gw and thus breaking the Internet connection. Is there, please, any possibility how to prevent Network Manager from replacing these routes?
I want to know any command which is equal to disconnecting and reconnecting lan cable. actually sometimes my router takes some time to connect to internet and when this happens my desktop shows network disconnected. but when router is connected system does no detect it and i have to manually disconnect and reconnect the cable which is not convenient.
I just purchased an HP Pavilion p6710f desktop with an ralink wireless n card, and 11.04 won't recognize it in 'Additional Drivers'. I can't get it to an ethernet cable, and then check for more additional drivers (did this on an old laptop), so what can I do??
I installed Ubuntu 11.04 on my girlfriends laptop a couple days ago...had the Ethernet cable plugged in to do the install...loaded fine the first time after the install. Unplugged the Ethernet cable when I had the wireless network set up and it froze. Restarted and it wouldn't even load the desktop. Didn't make the connection at first...thought there was something wrong with Unity. After about a day and a half worth of searching Unity problems/desktop freezing and solutions, I stumbled across this:
Do you have a Broadcom card? You have probably noticed the desktop works when you run Ethernet but it locks up when your wireless connection is active.
You'll need to upgrade the kernel to fix the issue. 126.96.36.199 did it for me.
11.04 just runs fine now.
This solution was to update the kernel, but that didn't work for me. Now I'm stuck.
I just built my first pc, installed ubuntu 9.10 and tried connecting to the net through my ethernet cable and all that happens is it says cannot find server. Do I need to install network settings & if so what & where,or should it automatically detect them? As this is my first build I am a novice but am willing to listen & learn.
have problems with my Intel 82566MM gigabit NIC. Using the default e1000e module. The module finds and load the nic but it doesn't recognize that i have plugged in cable or not. It always says "cable not plugged in". Using xubuntu now but same problem with regular ubuntu not that i think it matters. I tried downloading and installing e1000 from Intel but it doesn't seem to find the nic at all.
Any suggestions how to work this out? My googling says others too have had problems with this card. Couldn't find any real working solution though. Its Lenovo Thinkpad T61 laptop. Using 10.10 Maverick btw.
I've got a Dell Optiplex Desktop here, the CPU is a Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz. The integrated ethernet here is from intel also, it's a 82579LM Gigabit Network Connection. This computer is running a Debian Squeeze 64bits, distrib sid, kernel 2.6.39-2-amd64.Well, here goes the story. I had a lot of trouble with the ethernet card, being very slow, and it just didn't work when i was using tftp. So I downloaded and compiled the latest driver available on Intel website. Currently with debian sid, the version for the driver ( e1000e ) is version: 1.3.10-k2. From Intel I got the version 1.3.17-NAPI.Alright, so I build it, and move the module manually to the right place, replacing the previous version at the same time ie :