Networking :: Not Getting IP When N/w Cable Plugged In
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
ADVERTISEMENT
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
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
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
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
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
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
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
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
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
Apr 7, 2010
Can Cat5e RJ45 connector crimper be used for Cat 6 connector because I heard cat 6 connector is different from cat 5e connector and also same question for cable tester can cat5e cable tester be used for cat 6 cable?
View 1 Replies
View Related
Oct 12, 2010
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.
View 8 Replies
View Related
Jan 3, 2010
I know pretty nothing about networking'n'stuff. I got this linksys wireless router that was somewhere in a box for a few years ... now I want to see whether I can bring it back to life. I know, that I put some different software on it and that it doesn't have it's original ip assigned any more. But I can't remember which ip that would be.
So for starters I just wanted to put the original software back on to see if that thing still works. But how to do that? First I got no clue how to determine the address it is listening to. Once that'd be figured out I guess I'd have to ssh to it and install this ____.bin file I downloaded somehow.
View 4 Replies
View Related
Feb 14, 2010
I just got connected to Charter Cable Internet service a few days ago and I'm having a weird problem with my home network. Prior to this my network worked fine. On my network I have a desktop running Ubuntu 9.10/64 and Virtualbox with WinXP installed, an HTPC with Ubuntu 9.10/32 installed and a laptop dual booted with Ubuntu 9.10/32 and WinXP. The desktop and HTPC are hard wired to a wireless router and the laptop is wireless. The cable modem is hard wired to the router. I have samba installed and UFW is disabled. The problem is: with the cable modem turned off or on standby, all machines connect to each other and can transfer files, etc just fine but when I activate the cable modem all of the machines can connect to the Internet but the machines running Ubuntu can't connect to each other on the home network. If I boot the laptop into Windows, it can connect to the Linux machines just fine but if I boot it into Linux, it won't connect to the Linux machines but it can connect to the Internet and as far as the desktop, Ubuntu won't connect to the network but Windows running in the Virtualbox with bridged networking can connect to all of the machines.
View 2 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
Nov 27, 2010
I have a 2-floor house, with a single ethernet cable from the ground floor to the 1st. Downstair there is my ADSL modem, which is connected to the router upstair through this one cable. Now, I would like to have some more ethernet ports on the ground floor, but there's no room left to run another cable between the floors, so here's the big question: can I run both the modem-router connection and my regular LAN (which are on different subnets) through that one cable, with a switch at both ends?
To make it a little more clear, here is my present configuration
Code:
DOWNSTAIR UPSTAIR
ADSL Modem ------- Router --- Clients
Here is what i would like to do:
Code:
DOWNSTAIR UPSTAIR
ADSL Modem ---- Switch ------ Switch ----(WAN Port) Router --- Clients
Clients ---- ----(LAN Port)
Would it work?
View 6 Replies
View Related
May 3, 2010
I normally use a cable to connect to the Internet, but I also use the wireless network regularly. So I'd like Ubuntu to automatically use the wired connection except when there isn't any.
I also have the unlock keyring problem (because of auto login and wireless Internet), does anyone know a solution to that problem? (It's quite disturbing to get that window each time you start the pc even if you aren't going to use wireless Internet)
system:
Ubuntu 10.04, auto login, Intel Core 2 Quad Mobile Q9000, ATI HD 4670, 4 GB RAM, Broadcom NetLink BCM5784M Gigabit Ethernet PCIe, Intel Wireless WiFi Link 5100
View 6 Replies
View Related
Jan 26, 2011
I want to setup my Dell 1525 laptops to download DVR Recordings and Record Live TV with my Scientific Atlanta Explorer 8300HD Cable DVR.I purchased a USB "A to A" cable, but it states this cable cannot be used to connect PC to PC/Cable Box?Can I connect to the DVR directly and with what kind of cable (USB, S-Video, HDMI)?Do I have to use some kind of "Video Capture Box"?Can anyone point me in the right direction?
View 1 Replies
View Related
Jul 24, 2010
Allright, I bought a new dedicated box about two months ago. For most of the time, I have had major intermittent latency and downtime.Pings and traceroutes would always work, <70ms. However, all daemons would be inaccessible for periods of time spanning from 5 minutes to hours, at which point I would have the box rebooted and it would work again.After having hardware tests done numerous times, they kept saying it was software related. No logs showed problems.Finally, tonight a tech found that the network cable was frayed or something of that nature. "Noticed that your connection to the switch was exposed and replaced the cable"Would that create symptoms I've described above?
View 4 Replies
View Related
Aug 15, 2010
I want t understand why my 3G modem work only when it's plugged when my computer boot. If I forget to plug it , I need to restart my machine to get it working. I'm using ubuntu 10.04 when I plug the modem during the boot I get the product id changed from 1446 to 141b and dmesg |grep tty show me that the modem attached to ttyusb0 and ttyusb1 when I plug it after the startup I get also the product id changed from 1446 to 141b but dmesg |grep tty show me nothing.
View 9 Replies
View Related
Dec 15, 2010
I've got a telstra MF 636 modem that I've been trying to make work in Ubuntu 10.10.
Telstra have the modem report itself as a CD when it is first plugged in, but I've found out how to get around that using the terminal in the telstra software.
Anyway, my problem is that the computer will not recognise that the modem is plugged in. lsusb reports it as there, but the access point does not appear under the network icon 99 percent of the time. On the rare occasion it does, I click it, and it tries to connect, with the little animation and all, but it just disconnects.
View 9 Replies
View Related
Feb 18, 2011
I can't get a certain harddrive out of its mounting (screws too tight) , but I want it connected to a different computer. Is it possible to have the harddrive's powercable connected to one computer, and its SATA cable connected to another computer's motherboard? (The powercable is too short to connect it to the other computer.)
View 4 Replies
View Related
Apr 26, 2010
Linux box could act as a router? I have one machine running ubuntu, another running windows 7, a cable modem and a switch. Is it posible to share the connection between both computers by making the linux box a "router"?
View 7 Replies
View Related
May 1, 2010
I'm having trouble connecting to the internet... I'm using Ubuntu 10.04 on a PC with Windows XP installed. When I click the little network icon at the top there's an option called "auto eth1" but when I click it, it just says
"Wired Connection: Disconnected - you are now offline."
View 8 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
Dec 21, 2010
How can connect two PCs that both of them have ubuntu by cross cable?
View 4 Replies
View Related
Apr 22, 2011
I thought id give 11.04 a bash and i cant connect to internet via wifi i have a broadcom network adapter built into my hp530 laptop , and my network port is broken so cant use cable connection , so i thought id go back to 10.04 , guess wat i need to d/l the drivers again ... and again i have the same problem ? i have another laptop running win 7 , anyone know how i can get the drivers or what i can do ... ? its a broadcom BCM4311 802.11b/g
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