Debian Configuration :: Network - Command Which Is Equal To Disconnecting And Reconnecting Lan Cable

May 1, 2011

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 have debian 6.0.1 (squeeze) with gnome 2.30.2

And i have already tried following commands:

View 10 Replies


ADVERTISEMENT

Ubuntu Networking :: Ethernet Keeps Disconnecting And Reconnecting?

Oct 26, 2010

I installed 10.10 for some days ago, networking was working smooth back then. I use a ethernet cable to connect to the internet.But yesterday when I installed 10.10 on my brothers laptop(he connects through wireless), I began to get these disconnects and reconnects.They just seem to happen random.

View 2 Replies View Related

Debian Configuration :: USB Wifi Adapter Frequently Disconnecting

May 20, 2015

Using a USB ISO, I recently installed Debian 8.0 Jessie (64-bit, Xfce DE) to a new computer. I usually lose my Wifi connection after 1-3 minutes when donwloading/uploading at around max. speed 4 Mbps/512 kbps. Sometimes it will last 15+ minutes.

When lightly browsing it can usually stay connected for 15-30 minutes. I have to disable and enable Wifi using NetworkManager to connect again. If I remember correctly, there were problems with the Wifi connection even during the installation of Debian.

This Wifi USB adapter works fine on my old computer with Debian 7.7 (32-bit). No problems with the Wifi connection yesterday on my old computer during 10+ hours of activity.

This Wifi adapter also works fine on this new computer when I boot from a live USB (Rescatux 0.30.2) downloading and uploading at max. speed for 1+ hour.

I already tried some suggestions I found online, but they didn't work:

* changing Wifi channels between 1, 6, 11 in my router settings
* changing WPA-WPA2 to WPA2 in my router settings
* ignore IPv6 in NetworkManager
* change probe_wait_ms from 500 ms to higher value by adding Code: Select alloptions mac80211  probe_wait_ms=1000 or Code: Select alloptions mac80211  probe_wait_ms=3000 to /etc/modprobe.d/mac80211.conf and rebooting
* disable Power Management for Wifi adapter (not supported)
* ...

I can also post the output of commands from Rescatux or my old computer if needed.

Output of commands on Debian 8.0 64-bit (I edited out some info, MAC, ...; not sure if that is important):

Code: Select alluname -a

Linux d8lnx 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-2 (2015-04-13) x86_64 GNU/Linux
Code: Select alldmesg
...
[  291.292408] ieee80211 phy0: wlan0: No probe response from AP XX:XX:XX:XX:XX:XX after 3000ms, disconnecting.
[  291.459825] cfg80211: Calling CRDA to update world regulatory domain
[  291.462030] cfg80211: World regulatory domain updated:
[  291.462033] cfg80211:  DFS Master region: unset

[CODE]....

View 14 Replies View Related

Debian :: Wired Network Disconnecting When Idle

Jul 29, 2011

I am a newbie when it comes to linux, but know a little (the little bit of dangerous stuff).I have set up a home web server for when I am testing website using PHP, mysql and other funky stuff. This is a reflection of my production server as far as I can with my limited knowledge.I am also using this box to learn more about the Linux operating system and I doing this slowly. Before I installed the GUI (Gnome) I was using a text based server, this was working fine and running absolutey fine and never disconnecting. This has been fine and working 24/7 for around a month.

At the weekend (just gone) I ran the following at terminal
# apt-get install gnome

This gave me a GUI so I could try some other things.

When the computer is idle the network card seems to drop the connection, Im trying to see after how long it does this. I have seen this work fine after an hour, but after a night, the network has been dropped. This is a hard wired connection to the router.first time I thought the PC had froze so rebooted the PC, but the second time, I plugged a mouse into it and noticed the the network icon had changed, after right clicking on it, i noticed that It had dropped the connection. After clicking the "reconnect" option it is back up and running.

View 6 Replies View Related

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 :

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

Debian Installation :: Network Autoconfig Failed Even With Ethernet Cable

Jan 1, 2015

Router works fine, debian refuses to work with it. I continued the install anyway but only have the first DVD so now I've got a useless base install that can't connect to the internet.

The fact that this installer has utterly failed where the others succeeded had drastically reduced my confidence in the debian team.

View 8 Replies View Related

Networking :: Network Doesn't Work If Cable Is Plugged In At Boot (Debian Lenny)?

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

OpenSUSE Network :: Automatically Reconnecting Samba Shares (from Fstab)

Mar 16, 2010

Since OpenSuse 11.2 doesn't reconnect samba shares upon a resume from suspend, I wrote a small, ugly script to do so. It's placed in /etc/pm/sleep.d/66samba-remount

#!/bin/bash
case $1 in
hibernate)
echo "Hey guy, we are going to suspend to disk!"
/etc/init.d/smbfs stop ;;
suspend)
/etc/init.d/smbfs stop ;;
thaw)
echo "oh, suspend to disk is over, we are resuming..."
sleep 15
/etc/init.d/smbfs restart ;;
resume)
sleep 15
/etc/init.d/smbfs restart ;;
*) echo "somebody is calling me totally wrong." ;;
esac

and made it executable
(as root)
chmod +x /etc/pm/sleep.d/66samba-remount

The 15 seconds sleep time is useful to me to postpone the remount after WiFi is back online. Perhaps there are way more elegant ways to do so (check for x times if WiFi is on, for example), but I'm no good at bash, and this serves me well. How do I file a wishlist for 11.3? If someone puts a samba share in fstab, I'd assume he wants it connected mostly everytime (at startup for sure... so why not over a standby?) I hope 11.3 just reconnects in-fstab samba shares in a polished way, out of the box.

View 1 Replies View Related

Ubuntu Networking :: How To Stop Network Manager From Auto-reconnecting

Apr 11, 2011

I am running openVPN to secure my wireless network traffic right now. Everything works great except every once in a while, my Internet connection will drop out for about a minute or so. Ubuntu very nicely tries to reconnect, and most of the time successfully does. The issue is that if I don't catch it every time this happens, I am now running without my VPN.

I want to know if there is any way to DISABLE auto-reconnect to a wireless network if connection is lost or signal fades.

Im running ubuntu 10.10 by the way

View 3 Replies View Related

Ubuntu Networking :: Wireless Network Continually Dropping And Reconnecting?

Apr 13, 2011

Within the last couple of days or so, my wireless has been on the fritz. It keeps disconnecting and reconnecting every minute or so, which is annoying to say the least. The information relating to my wireless network is:

Laptop model: Toshiba Satellite L350
Wireless interface: Atheros AR5001 Wireless Network Adapter
Interface:

[code]...

View 3 Replies View Related

General :: Keeps Disconnecting From Wireless Network?

Sep 12, 2011

I'm running Arch Linux on an Acer laptop and my wirless connection doesn't stay up. After a while it disconnects, and when I try to reconnect I get stuck with a "Waiting for authorization" message. I have to retry several times before getting the connection stay up for few minutes. This happens with both networkmanager and wicd. The strange thing is that the iMac that sits next to the laptop connects fine, and when I use my laptop within the university wireless network it works normally.

EDIT: I've tried to connect manually following the steps

iwlist wlan0 scan
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
dhcpcd wlan0

[Code].....

View 1 Replies View Related

Debian Hardware :: Reconnecting USB-Serial Converter Creates New TtyUSBn

Jan 2, 2015

I have some USB-Serial converters and when I connect any of them for the first time a /dev/ttyUSB0 node is created.
If I disconnect the device and then reconnect it then a /dev/ttyUSB1 node is created y I do the same again (reconnect) a /dev/ttyUSB2 node is created...

This is annoying because if mostly use only one converter at a time and because of the device node changing I have to reconfigure my software.

To reset the numbering of the device node I can force the reload of the usbserial module but before (I don't know when before) this was not necessary.

I have also checked if the device is being in use before disconnecting it (with lsof) and the device is not being used.

I'm running Debian Testing amd64 with KDE.

View 1 Replies View Related

OpenSUSE Network :: 11.2 - 3G USB Broadband Modem Keeps Disconnecting

Jan 23, 2010

I am running a 3-G wireless USB broadband modem, and connecting with Network Manager, but I keep getting disconnected when idle after 5-6 minutes. I am used to using Kinternet to connect with my 3-G wireless USB broadband modem, and setting it up in Yast / Network / Modems, but was not able to configure my modem there (for some mysterious reason) so ended up using Network Manager instead.

What's going on here regarding YAST being unable to configure my modem (even when Network Manger is disabled). But my main problem at this point is that my connection times out after about 6 minutes if I'm idle. This is a big problem for me because I type slow and frequently get disconnected while posting on message boards. Where are the idle time out settings are for Network Manager? I can't seem to find them.

View 3 Replies View Related

Ubuntu Networking :: MSI Wind 100 Keeps Disconnecting From Network?

Jan 25, 2011

I have a MSI netbook, U100, on which I've installed Ubuntu 10.10. This keeps disconnecting from the network, though the applet shows me that the netbook found it. I mention that I have a wireless network and another laptop, with WIN 7, where I have no problems with the Internet connection. I also have a 3G USB modem, which let me connect without problem.

View 3 Replies View Related

Debian Configuration :: Getting Network Error - Every Time Rebooting My Server Lost My Network Config

Mar 3, 2011

I was playing with my debian server when something went totally wrong while i was editing something on my network interface,i removed those crap that i wrote and left the network interface configuration as it was

Like for example after re-editing my network interface,it was like :

As i did a network restart, i get this error saying :

There is already a pid file /var/run/dhclient.eth0.pid with pid 2802 killed old client process, removed PID file.

What is this error and how can i fix it,because every time im re booting my server i lost my network config.

View 1 Replies View Related

Ubuntu Networking :: Apache2 And Localhost - Network Manager Kept On Messing Around And Disconnecting

Mar 14, 2010

a while ago, Network manager kept on messing around and disconnecting me etc. I attempted to setup a static network (wired) and since then, everything worked fine. I also have apache running and have had no problems with that. I know there were some apache auto updates this week but I have been doing no dev work. I went to check out one of my local sites to do some work yesterday and there was just nothing happening.

I checked everything with apache, it is all running etc. I have stripped back the conf files to be clean and fresh and netstat is showing apache as listening on 127.0.0.1:80 as it should for a single default site that I have on there now. BUT if I try to ping localhost by name or by 127.0.0.1 I am getting "Destination Port Unreachable" Since I have been trying to fix this, I have been trawling the internet to try and clean up my network setup from scratch (I have also had problems with https sites that has turned up to be the MTU setting on my eth0 interface) but to be honest I am not sure exactly what should be set between ifconfig, route, netstat and apache. should I be able to ping localhost independantly of running apache2 (i.e if it is stopped) or would a successful ping rely on apache working correctly.

View 6 Replies View Related

Debian Configuration :: Network Not Work When Use 2 Network Cards

Oct 24, 2010

I'm planning to use Debian as the OS for a firewall machine, which will sit between my internet connection and the rest of my computers. Now my network is all wired, no wireless whatsoever. I'm using the onboard the motherboards cat5 socket which seems to be using the VIA rhine driver and I'm also using a 3com 100MBps card.

I can list the machine spec if you want but it's nothing special, an old Athlon 64 rig with 1gb ram and an OEM motherboard, it all seems to work ok apart from the internet doesn't' seem to work. Lenny seems to detect both cards ok and I even used the net install CD and it managed to download everything using the 3com card.

The strange thing is when I'm in Lenny, I can't seem to connect. I can ping google, but when I try and view a webpage, the browser just sits there with a while screen... Could it be that using 2 network cards is confusing Debian? Right now I've only got the modem hooked up the the 3com card, and nothing connected to the onboard network card.

View 5 Replies View Related

Ubuntu Networking :: Mobile Broadband Keeps Disconnecting, Network Manager Remains Silent?

Apr 18, 2010

I have a broadband mobile modem iCon 225 (Option) with SiMobil provider (Slovenia). I run ubuntu 9.10 (Karmic Koala). I connect to the internet without problem. After a few minutes, the modem lights start signaling that there is no connection, but the network manager shows connected status. I have to reconnect the network manager to regain connection. After about a dozen times of reconnecting like this, I have to reboot the system, as it won't connect, even if I unplug and replug the modem.

I've noticed these frequent disconnects have started a few days ago. I did experience disconnects in the past, but as nearly often as this. I can't attribute disconnects to activity/inactivity, as they seem to happen no matter what I do.

View 5 Replies View Related

General :: Sendmail Configuration Over A Cable Modem

Feb 19, 2010

I have a CentOS system running. I want to get mail off it to my yahoo account.

I did a test mailx command and it goes out of the queue but never gets to my yahoo mail.

I am using a cable modem.
I can go out to the Internet so I know I have a valid connection.
I am guessing I need to set something up so the cable company will relay my mail for me.

I know i can pull pop mail down and sen it using my account.

Do I need to configure something in the sendmail.cf file to do this?

I just went into my email and say this ...patial msg included...

(reason: 553 5.7.1 [BL21] Connections will not be accepted from 98.249.136.1 9, because the ip is in Spamhaus's list; see [url])

View 9 Replies View Related

Debian Configuration :: Revert A Lvextend Command?

Feb 24, 2011

I added by error a fresh physical volume of a volume group to a logical volume:

lvextend /dev/lvm/logo /dev/md4

Is there a way to remove the physical volume /dev/md4 from /dev/lvm/logo again without harming the existing file system? I did not resize the file system yet.

I am looking for something like

lvreduce /dev/lvm/logo /dev/md4

but lvreduce only works with the -l or -L options as far I can see. So how can I ensure that only extends located on /dev/md4 are removed from /dev/lvm/logo?

This is the current situation:

Finding all volume groups
Finding volume group "lvm"
--- Volume group ---
VG Name lvm

[Code]....

View 2 Replies View Related

Debian Configuration :: Booting Into A Command Line With No X

Jun 7, 2011

I wanted to be able to have a boot option to just use a command line with no X running at all. What I did was remove the gdm3 link in rc5.d . Then in /boot/grub/grug.cfg I made a new menuentry that is exactly the same as the default but I changed this line:

linux /boot/vmlinuz-2.6.32-5-686 root=UUID=3e926e70-cb92-4847-997c-37aabda532ff ro quiet to this line: linux /boot/vmlinuz-2.6.32-5-686 root=UUID=3e926e70-cb92-4847-997c-37aabda532ff ro 5

This worked. It gave me a command line interface with no X running.

My question is is this the recommended way in Debian? If not what is?

I have been using Linux for a very long time but I used mostly Slackware. I tried Redhat for awhile but really hated bluecruve, shows how long I have been using Linux. I have played with other distros but I always went back to Slack. But I really dislike KDE4 so Slack is no longer an option. KDE4 reminds me of a 12 year old girl that got a big box of makeup and had to use every bit of it. I now am using Debian on my laptop. And as aside I gave my 16 year old daughter a laptop for her birthday. She used the included version of windows 7 for awhile but then asked me what would be a good Linux distro for her. I showed her distrowatch and told her to look at the top distros. She then asked me to help her put on Debian. She loves it. She is a very good musician and song righter, She actually gets paid for doing that at 16, and really likes the programs in Linux to work with sound files. She also does MIDI stuff with our Yamaha Clavinova.

Now we are trying to do things the Debian way and it is a little different then other distros. So did I do the command line thing they way it's recommended in Debian. I have looked on line but all I could find was working in a shell and that is not what I was looking for.

View 2 Replies View Related

Debian Configuration :: Network Manager Is Quirky In KDE Debian

Feb 14, 2011

I have a new install of Debian Squeeze from debian-6.0.0-amd64-kde-CD-1.iso but I'm experiencing problems with the wireless internet applet in the taskbar.When the computer boots, it doesn't connect automatically eventhough I have it set as such. I have to fiddle with it until I get the request from KDE Wallet Manager to insert the password to complete the connection. I didn't have this behavior in Kubuntu.

View 1 Replies View Related

Debian Hardware :: Wheezy 32-bit On Thinkpad X40 - WiFi Keeps Disconnecting

Sep 15, 2014

On wheezy 32-bit on thinkpad x40

Code: Select all# tail -30 /var/log/messages
Sep 15 11:52:12 X40 kernel: [  146.227644] cdrom: Uniform CD-ROM driver Revision: 3.20
Sep 15 11:52:13 X40 kernel: [  147.005390] UDF-fs: Partition marked readonly; forcing readonly mount
Sep 15 11:52:13 X40 kernel: [  147.017161] UDF-fs: INFO Mounting volume 'Utility_HD-PXTU', timestamp 2010/05/12 14:24 (11e0)
Sep 15 11:52:14 X40 kernel: [  147.821237] NTFS driver 2.1.30 [Flags: R/W MODULE].
Sep 15 11:52:14 X40 kernel: [  147.919521] NTFS volume version 3.1.

[Code] ....

It will be okay for awhile after I unload & reload ipw2200 driver

Code: Select all# lspci | grep -i VGA
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)

View 2 Replies View Related

Debian Configuration :: Can't Login With New User (useradd Command)

Sep 5, 2015

I created a new user with command useradd (as root) :

Code: Select alluseradd razer123

And then set a password with command passwd (as root):

Code: Select allpasswd razer123
No Error!

When I logged out and tried to login with new user, I coulden't! (even after restart!)

I looked into /etc/passwd :

Code: Select allcat /etc/passwd | grep razer123

result:

Code: Select allrazer123:x:1002:1002::/home/razer123:/bin/bash

There is no home folder in the path!

# I have debian 8 and MATE desktop.

View 5 Replies View Related

Debian Configuration :: Xen-create-image - Command Not Found

Oct 26, 2015

I have been following the Xen Beginners Guide here: [URL] .....

Everything was going smoothly until I got to the 'Configuring xen-tools and building our guest' section (two thirds down the page).

I installed xen-tools and then typed the following in a terminal window (as root):

xen-create-image --hostname=development-pv-guest --memory=2048mb --vcpus=2 --lvm=develop --dhcp --pygrub --dist=jessie

I admit PV is new to me, compared to simple HVM, so I have a number of questions:

1. Why the command not found error?

2. Should I be booting from the Xen option or regular boot option at the start up screen when creating the xen image? I've tried both and get the same error message.

3. I have Debian 8 (Jessie) installed on my system and I wasn't sure whether I should therefore make this the guest OS in my Xen PV. In asking this question I'm thinking in terms of HVMs - but I assume my Xen PV needs a guest OS of some kind? Or is my host Debian 8 already acting as a guest OS in Xen PV? I'm confused

4. If I do need to install a guest OS, is it better to go for an earlier version of debian - so as not to be so resource hungry?

I'm nervous about screwing up my host debian installation, so when I got the error message, did some research but found nothing meaningful. I don't want to end up having to reinstall my Debian 8 (base OS) ... again!

View 8 Replies View Related

Debian Configuration :: Run A Command At Bootup Earlier Than Rc.local?

Jan 28, 2010

i rarely need my wireless, and i want it off by default, i am going to disable it during bootup with

echo 0 > /sys/devices/platform/acer-wmi/wireless

what would be the proper place for this? if i put it in rc.local it will be executed very late, i'd rather have it sooner. if add a new script to init.d, then run update-rc.d, i would have to adhere to the start|stop|reload structure of these scripts, right? or do i go a totally different way about this?

View 2 Replies View Related

Debian Configuration :: Command Line Based Ppp Dialer?

Mar 13, 2010

I use Huawei EC1260 modem for mobile broadband connection. What are the command line shell based ppp dialing applications available apart from wvdial? insight how to use pppd/chat directly.Actually wvdial is working on debian very well with this modem. But I need to use it on an arm le based system, where wvdial does not work properly because of setcontext(), getcontext() dependency on arm platforms.

View 2 Replies View Related

Debian Configuration :: Determine IP Address In Post-up Command?

Mar 22, 2010

Is there any elegant (and preferably uniform) way to determine IP address assigned to a DHCP/PPP interface inside a post-up command?

View 2 Replies View Related

Debian Configuration :: Get Rnmod Command Working Under Squeeze?

May 11, 2011

How to get rnmod command working under squeeze?

[Code]...

# rnmod i915 bash: rnmod: command not found

View 2 Replies View Related

Debian Configuration :: Jessie Upgrade Ssh Command Line Reboot

Nov 13, 2015

I've upgraded a server on our LAN from fully functioning Wheezy to Jessie. All seems fine except remote administering using Putty from my windows workstation when issuing reboot from command line, it goes down and reboots but stops at login prompt asking for username and password and does not come back on the LAN network. This server does not normally have a monitor or keyboard so my ability to remote admin this server in effect is disabled.

If I log on, it will come back on the LAN network. I've checked the logs but can't see any errors. Is it in the configuration of Jessie somewhere or perhaps a Grub issue. I have 5 other production Wheezy servers that I intend to update to Jessie once I understand how to deal with this problem.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved