General :: Automatically Connecting To A Network When The Cable Is Plugged In?
Apr 2, 2011
Is there a way to have linux connect to the network when the ethernet cable is plugged in? I'm using Gentoo Linux, and I haven't found the right setup for the conf/net that'll allow me to do that.
View 1 Replies
ADVERTISEMENT
May 1, 2010
How can I connect two PCs having Ubuntu OS with network cable?Similarly how can I connect two PCs one having Ubuntu and another having WINDOWS OS?
View 3 Replies
View Related
Dec 15, 2010
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.
View 13 Replies
View Related
Jul 14, 2010
Linux Server automatically reboots when i plug in the network cable.it was working fine till 2 days back and no changes were made to it.any light on this note pls? kindly confirm if any logs are required for the discussion!
View 1 Replies
View Related
May 5, 2010
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?
View 2 Replies
View Related
Jan 19, 2010
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
View 1 Replies
View Related
Aug 2, 2011
I used my computer this morning, but when I returned this evening, I am unable to reach the internet. Also the light on the mobo where the ethernet cable is plugged in is steady yellow.
My limited experience would tell me it is a hardware failure, but it seems so strange with nothing happening during the day. How might I best diagnose the problem?
View 8 Replies
View Related
May 5, 2011
I want connect my two Linux PCs running in 2.6 kernel via cross over cable. To do this I have done the following settings after a Google search:
In PC1
ifconfig eth0 10.10.11.16 netmask 255.255.255.0 up route add default gw 10.10.11.13 eth0 (default gateway which is ip of pc2 )
In PC2
ifconfig eth0 10.10.11.13 netmask 255.255.255.0 up route add default gw 10.10.11.16 eth0 (default gateway which is ip of pc1 )
Then i tried pinging i could not able to connect.Are these above settings enough or any thing am i missing?
For your more information
In PC1
ifconfig output
eth0 Link encap:Ethernet HWaddr 00:16:76:A1:33:37
inet addr:10.10.11.16 Bcast:10.10.11.255 Mask:255.255.255.0
inet6 addr: fe80::216:76ff:fea1:3337/64 Scope:Link
[Code].....
View 1 Replies
View Related
Dec 23, 2009
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?
View 1 Replies
View Related
Apr 9, 2011
Just moved over to openSUSE 11.4 (KDE) from Ubuntu, yesterday. However, I'm having some trouble with my wireless connection.
I have a wireless network with a hidden SSID and WPA2-PSK security. I entered all the nescery information into the KDE network manager, but it couldn't find my network. So I ran the usual command:
Code:
su -c iwlist wlan0 scanning essid [My SSID]
At which point, the network manager immediately found, and connected to, the network. However, it seems that I have to run this command (as root) each time I log in, before my laptop will connect to the network. The network manager has no problem find the plethora of unsecured networks as well as those that are secure, but broadcast their SSID.
View 1 Replies
View Related
Jan 27, 2011
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..!
View 9 Replies
View Related
Jan 2, 2011
I'm new to Fedora and have a problem with the network manager. Everytime I start Fedora, it does not automatically connect to the default WIFI Browsed Google and just found [URL]..
View 1 Replies
View Related
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 :
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
[code]....
what could be causing wireless to disconnect when ethernet cable is unplugged?
View 3 Replies
View Related
Oct 28, 2010
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.
View 1 Replies
View Related
Jul 15, 2011
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.
View 8 Replies
View Related
Apr 25, 2009
I was recently asked to get a 3G ZTE 633 modem (not in stores) to connect to the internet whenever it was plugged in. I had it successfully working on my Ubuntu Gutsy Gibbon machine but it does not work on Fedora 10 which is where it is required to work. When the 3G modem is plugged in I use a Udev rule to run usb_modeswitch which changes it from being in usb storage mode to being in modem mode. This part works fine. I then run a second udev rule (on the modem device), this should run a script which connects to the internet. Unfortunately it falls over here. The script does run but it will not connect. However if I run the script manually from root it works fine. I guess that it is a permissions issue.
The device permissions are:
crw-rw---- 1 root uucp 188, 0 2009-04-26 11:31 ttyUSB0
crw-rw---- 1 root uucp 188, 1 2009-04-26 11:31 ttyUSB1
crw-rw---- 1 root uucp 188, 2 2009-04-26 11:31 ttyUSB2
The script and script folders permissions are:
drwxrwxrwx 2 root root 4.0K 2009-04-26 11:46 .
drwxr-xr-x 23 root root 4.0K 2009-04-26 11:13 ..
-rwxr-xr-x 1 root root 95 2009-04-26 11:46 run_internet
One thing to note is that there are three udev devices associated with the modem. They are ttyUSB0, ttyUSB1 and ttyUSB2. I use ttyUSB2 to talk to the modem when connecting. Here are the files. If you require any more let me know:
The first udev rule:
SUBSYSTEM=="usb", SYSFS{idProduct}=="2000", SYSFS{idVendor}=="19d2", RUN+="/usr/bin/usb_modeswitch"
The second udev rule:
SUBSYSTEM=="usb", SYSFS{idProduct}=="0031", SYSFS{idVendor}=="19d2", MODE="0666", RUN+="/outputs/run_internet"
The script:
#!/bin/bash
/bin/echo script
/usr/bin/wvdial &
cp -f /etc/telstra_resolv.conf /etc/resolv.conf
The wvdial config file:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = ATS7=60 S30=0 S0=0
Init4 = AT+CGDCONT=1,"IP","telstra.internet"
Modem Type = Analog Modem
Baud = 9600
New PPPD = no
Modem = /dev/ttyUSB2
ISDN = 0
Dial Command=ATD
Phone = *99#
Password = user@bigpond.com
Username = password
Stupid Mode = 1
So what am I missing? I suppose it is related to device permissions. Why does the "mode" command not work? With what rights do udev rules run?
View 1 Replies
View Related
Jan 13, 2011
I am having a problem when I hook my computer up to my tv the desktop is bigger than the screen will allow. Is there a way to shrink the desktop down so that it fits within the screen? I can not find a way to do it on the tv itself... I should also add that the resolution is set to 19201080 and the video card has a vga and dvi port. I am connecting to the tv with a dvi-hdmi cable
View 2 Replies
View Related
Nov 5, 2010
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.
View 8 Replies
View Related
Oct 21, 2010
I have two shares in total and there are also two external hard drives. The server is used by two different organisations that are not supposed to have access to the data of the other one(at least not as normal users).he script I need should run in the background of the server and when a drive is plugged in, it should check, which organization the drive belongs to, and depending on who the drive belongs to, backup the respective share.When the drive belong to neither, it should just do nothing.Unfortunately, I have no clue about scripting and so this makes writing a script like that, at least for me, impossible.So I wanted to know if somebody could name some good websites for learning to write such a script or give tips.
View 9 Replies
View Related
Jun 23, 2010
I am using ububntu 9.10,and have a cable modem internet connection. All I have is an ethernet cable given to me,and when plugged in a windows machine and fire a browser am redirected to default login page where i can login, but when i plug it into my linux machine,i cant get the same done. In network connections it doesnt shows my autoeth0, i have deleted my existing dsl settings(not autoeth0),made a new wired network,i doubt what should i put into MAC addrs field(i have put my machines mac given by lshw -c network.) What should I put in DHCP client id? Anyways when i click on network connections it says under my wired connections-device not configured properly.
View 6 Replies
View Related
May 4, 2011
I have a vista computer that is connected to a router via a ethernet cord. The router is connected to the internet.I have a computer installed with Debian that does not have a ethernet port in the back of it. Is there a way that I could connect my Debian computer to the internet through my vista?
View 5 Replies
View Related
May 26, 2009
I want the following behavior in kubuntu 9.04 when I plug a device (USB stick or CD disk):
1. It should be mounted automatically for me. Now it isn't, though it appears in fdisk -l output: Code: Disk /dev/sdd: 8006 MB, 8006926336 bytes
16 heads, 32 sectors/track, 30544 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Disk identifier: 0x9b12d290
Device Boot Start End Blocks Id System
/dev/sdd1 * 16 30544 7815232 b W95 FAT32 and if I mount it manually, all goes OK
2. If I mount manually my CD disk and then press the eject button on my drive nothing happens until I manually unmount the drive. But I want it to open immediately
All this worked for me in kubuntu 8.10, and broke with the upgrade.
My fstab entries Code: /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/sdc1 /media/usb vfat noexec,codepage=866,utf8,nosuid,nodev,quiet,uid=1000,gid=1000,umask=077,user 0 0
View 9 Replies
View Related
Apr 12, 2011
Wireless does not turn on until nic cable is plugged in. Soon as I plug in a nic cable the wireless light on laptop comes on.
View 4 Replies
View Related
Mar 24, 2010
I am computer literate but novice in case of linux.I have installed ubuntu.Please tell me how I connect to internet using mobile.how to install cable driver for connecting with mobile.What are installation steps.which rpm is required.
View 1 Replies
View Related
Jun 29, 2010
I have installed ubuntu 10.6.4 in my dell inspiron laptop but my ethernet card is not working when I connect my lan cable to it. But it is working well in windows vista. How to load drivers for it.
View 3 Replies
View Related
Dec 16, 2010
I have a Verizon wireless/wired router that I access the internet through. I have a desktop computer running Slackware 13.1 i386, but it is in a place where it would be impossible to run a network cable to. Would you buy a USB wireless card? Would it work with Linux? Is there another way I can get my computer networked that I am not thinking of?
View 12 Replies
View Related
Apr 24, 2011
I was wondering if there's a way to transfer files from one pc to another using a network cable or something
View 13 Replies
View Related
Jan 25, 2011
I am trying to connect this cable
[url]
However, it refuses to connect properly. It previously connected, but now whenever I plug it in, nothing happens.
lsusb before:
Code:
lsusb after:
Code:
dmesg error:
Code:
From some other googling, is seemed as if removing "ehci_hcd" or "uhci_hcd" would fix it, however running the following commands does nothing, as shown below:
Code:
View 1 Replies
View Related
Feb 1, 2011
My laptop connects fine wirelessly but when I try connecting with the cable it won't connect. I have tried an identical laptop and that connects fine so it must be the laptop but I don't know why.
View 15 Replies
View Related
Mar 16, 2010
We were moving our cluter and during this process eth1 cable(external internet cable) was pluged-out. After pulg-in that wire again cluster is not working nicely and some process including mysql is not working.
View 12 Replies
View Related