Debian Configuration :: Unable To Reconnect 3G Connection After New IP Was Given
Sep 28, 2015
I use Debian Jessie 8.2 and I am using a 3G connection using this modem => [URL] ....
The 3G connection works fine, except after 24 hours the connection drops and I cannot reconnect. If I reboot the computer, the connection will work again.
My guess is that my ISP gives me a new IP address after 24 hours and somehow my system cannot handle it.
How can I reconnect my 3G connection without rebooting?
I have already tried the following commands:
Code: Select allsudo service network-manager restart
Code: Select alldhclient -r eth0
dhclient eth0
Code: Select allsystemctl restart ModemManager
Results of journalctl and grepping my connection name (SFR)
Code: Select allsept. 22 17:58:19 ark1 NetworkManager[512]: <info> Policy set 'SFR Web / Prepaid 1' (eth0) as default for IPv4 routing and DNS.
sept. 23 18:17:07 ark1 NetworkManager[9446]: <info> new connection /etc/NetworkManager/system-connections/SFR Web * Prepaid 1
sept. 23 18:17:08 ark1 NetworkManager[9446]: <info> Auto-activating connection 'SFR Web / Prepaid 1'.
[Code] ....
As you can see sept 22 at time 17:58 is when the computer started up. And roughly 24 hours after it failed to reconnect.
Also I should mention that there is a script to run the command:
Code: Select allsudo service network-manager restart
if the computer cannot ping a server, ie if the connection is lost.
More journalctl info when the system tries to reconnect:
Code: Select allsept. 23 23:52:53 ark1 NetworkManager[9446]: <info> Auto-activating connection 'SFR'.
sept. 23 23:52:53 ark1 NetworkManager[9446]: <info> Activation (ttyUSB0) starting connection 'SFR'
sept. 23 23:52:53 ark1 NetworkManager[9446]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
sept. 23 23:52:53 ark1 NetworkManager[9446]: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
[Code] ....
View 3 Replies
ADVERTISEMENT
Oct 26, 2015
I have done a clean install of debian 8.2 (jessie) on a new PC. I am working through some of the issues that were not correctly installed. One of them is the wireless network. On startup, I have a wireless connection. At some point within the first 5-25 minutes of being logged in and doing computer stuff (there is no known action that leads to the reaction), the wireless disconnects from the network and will not reconnect. The network-manager-gnome shows three horizontal dots; the system settings> network shows all of the available networks, the strength of their signal, and the "connecting" circle spins. This behavior occurs with both WPA and insecure networks.
I have followed the guidelines for Debian>WiFi>HowToUse (https://wiki.debian.org/WiFi/HowToUse). Nothing appears amiss when following the Network-Manager>Gnome portion of the instructions. I was going to try the alternate WICD program, but one has to uninstall network-manager to use wicd and synaptic also wants to remove something called "gnome", too-- uninstalling a package with that name makes me uneasy. I have noticed that the installed versions of network-manager (0.9.10.0-7) and network-manager-gnome (0.9.10.0-2) don't exactly agree, but I doubt that that is significant.
root@fayalite:/home/agnewton# iwconfig
eth0 no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"Mineralogy"
Mode:Managed Frequency:2.472 GHz Access Point: 64:E5:99:2C:A0:7E
Bit Rate=150 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70 Signal level=-18 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
[CODE]..
View 8 Replies
View Related
Oct 1, 2015
I'm running jessie on virtualbox.
I set staticIP at /etc/network/interfaces.
When I stop/start vm(not restart), dhclient becomes up and ip is assigned by dhcp. Why?
--------------------------------
yoshi@vbox:~$ uname -a
Linux vbox 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux
--------------------------------
yoshi@vbox:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
[Code] ....
View 1 Replies
View Related
Dec 9, 2010
I'm running squeeze testing. I have noticed an issue with the way NetworkManager acts when the wireless connection is dropped. I believe it should automatically reconnect but it immediately puts up a dialog requesting me to enter the wifi password. This dialog stays indefinitely until I intervene and click "OK" (the password from the previous successful connection is still there). I would think that something as basic as wireless networking should not require 24 hour human interaction to stay connected. I have considered a cron job checking the network status and restarting it if necessary, but there is a configuration change or something else I can do to resolve this.
View 3 Replies
View Related
Apr 15, 2011
I am using Empathy IM client to access to gadu gadu and to message with my friends. The strange thing that is happening is that I keep on being connected and then disconnected and then connected again even if I am continuously connected to my internet connection (no problem when surfing or using skype for example)It also seems to come only from me because when my girlfriend is using the same gadu gadu on her windows laptop simultaneously, she doesn´t get disconnected (whether when she is at home and using the same connection as I am or when she is outside, meaning that it doesn´t seem to come from the whole gadu gadu network)maybe it has something to do with the ports that gadu gadu is using but it is strange that sometimes it is working for a period of time and then not and then again.
View 1 Replies
View Related
Mar 1, 2010
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.
[My desktop PC]---Ethernet---[My laptop]---))) WiFi )))---[Public network/ ISP]
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?
View 1 Replies
View Related
Apr 15, 2011
1 linksys router: gets the net from PPPOE and give the network DHCP. The router IP is 192.168.1.1. 1 windows laptop that work wireless and wired. 1 debian desktop that work wired and not working wireless. THe problem with the debian desktop is like this: I have a TP-Link TL-WN321G installed and found by lsusb command. I make a wireless connection WPA Personal (just like the router settings) it says i am connected to the wl network but no internet connection. the route command give me this:
[code]....
I tryed with wicd who said that the connection is WEP (and it's not, it is setup to WPA on the router and the network-manager conncetion) and when i try to connect i get bad password. I tryed with network-manager uninstalled and no chance.
View 4 Replies
View Related
May 14, 2010
i cant get Qinternet to auto reconnect when connection is lost due to dynamic IP changes from my ISP.Im using Ifup method.Thing is, every 24 hours, ISP changes my IP and thus, disconnects me from the internet. I need it to reconnect but dont know how to do it.
View 9 Replies
View Related
Dec 31, 2010
I have a ppoe internet connection. I was easier and faster to configure it in Yast than in Windows XP. When
The provider here sometimes goes through some problems and the connection may disappear and return at any unexpected moment. In Windows there is a icon on system tray that dysplays such information and I know when the connection is gone. It also allows me to try to reconnect manually. Where do I find these information on Opensuse here do I manage to reconnect. In Windows it was also possible to set the connection to re-dial automatically when it was out. It was very useful if it failed in the middle of a download, the system reconnected and the download manager retried until download resumed. Is there some way to adjust opensuse to reconnect automatically when connection fails or some software that does it? Furthermore, is there a good download manager that works in Opensuse that pause, accelerates downloads and retries when connection fails?
View 3 Replies
View Related
Sep 8, 2011
I have problem with my wireless GSM connection , my notebook has built-in Toshiba (in fact Ericsson) F5521gw wireless modem , it is detected and usable by default without installing additional software.Problem is that I can connect flawlessly only once after switching on notebookif I disconnect manually I'm not able to connect again, i have to reboot my computer or another solution which allows me to reconnect is closing and opening lid (putting notebook in suspended state)I'm using Toshiba Tecra r850, openSUSE 11.4 x64 on Gnome 2 DE, using NetworkManager and nm-applet /var/log/messages after using disconnect from nm-applet:
Code:
Sep 8 17:04:39 linux-b5nl pppd[9933]: Terminating on signal 15
Sep 8 17:04:39 linux-b5nl pppd[9933]: Connect time 243.2 minutes.
[code]....
View 5 Replies
View Related
Apr 18, 2010
Recently I've installed Ubuntu 9.10. I have DSL connection so, I wrote all details needed. After trying to connect on it, it automatically disconnects and connect auth connection again. I have worked on 9.04 and older versions and used to work very good, also the internet connection, but not in 9.10.
View 5 Replies
View Related
Mar 24, 2011
I am fairly new to linux. I have Ubuntu 10.10 on my Dell Inspiron E1705. While browsing my internet connection suddenly stops working. It says that I am still connected but the internet doesn't work. When I try to disconnect then reconnect it will not connect to the network. To get it to reconnect i have to turn of the wireless card, delete the connection then restart, turn the card back on and reconnect.
View 9 Replies
View Related
Sep 22, 2015
The situation: The office has a WiFi network on one DSL line, which is used for our VoIP call center, and a wired network for our internal network and the majority of web surfing/traffic . Part of the office must be temperature controlled/monitored - we have a rather nice digital thermometer which is WiFi enabled.I have a Debian Wheezy box with a WiFi card and ethernet connection
What I'm trying to accomplish:Connect wifi enabled thermometer to WiFi network so it can automatically send temp updates (currently I have to do it manually via USB)Have the Wheezy box accept the downloaded file then send it to a back up server in the wired network
Side things that may be useful : Prefer to use wired connection for internet and apt and suchWiFi connection will really just be used for connecting to the thermometer
This [URL] .... topic got me thinking that there might be a way to bring the two networks together, but I don't know if that will wreak havoc on things. I know, the Windows and Mac OS don't like having ethernet and wifi at the same time, might Linux be better for this?
v&n had this to offer in the prior thread [URL] .... which I'll be doing more research on.
View 2 Replies
View Related
Mar 23, 2010
my wireless will connect to a well known connection but will sometimes drop the connection then tries to reconnect. Sometimes it will reconnect w/o a problem but most times it will fail and when it fails it will refuse to even recognize that same wireless connection.
If by a small chance it does recognize the network then when you click on it, it will ask you again for the password, which is already saved onto the computer. After entering the password it will try to reconnect, then fail.
Only solution is to reboot.
I was wondering if there was an easy temporary fix of just reloading the software that controls the wireless.Such as, my audio doesn't work when I boot. I need to reload the ALSA driver using sudo /sbin/alsa force-reload
Is there something specific to the wireless that I can force-reload and it will start working w/o having me reboot my PC?
View 6 Replies
View Related
Mar 3, 2010
Sometimes I am unable to reconnect to my wireless AP using the same settings that worked the previous day, and that has me stumped. I think it's due to me switching access points (using different authenticatin) since the last connection.
1) After I enter iwconfig/iwpriv commands to connect my wireless usb card (edimax) to my WPA2 network, what process performs the negotiation with the AP, and is there a way to see status debug messages from that process so that I can see if there was a successful negotiation? (so I can see if the password is correct, etc).
2) Is there a way to manually invoke that process to re-attempt to negotiate? Or must I assume that happens automatically with any iwconfig/iwpriv command?
3) Is there a simple command that will erase all iwconfig/iwpriv settings so that I can start over with my iwconfig/iwpriv commands?
View 1 Replies
View Related
Aug 10, 2009
I am having a problem reconnecting to the internet when I put my computer in suspend or hibernate. For some reason when I put my computer in any one of these modes it disconnects from the internet, and I have no way of getting back on the internet after that. I use to have the option of "Enable Networking" on my top panel, but it seems to have disappeared for some reason. Is there any way to stay permanately connected to the internet, even when it is in hibernate mode, or could someone tell me how to get the enable networking icon back?
View 14 Replies
View Related
Feb 29, 2016
My Debian Jessie system started to bug after a separate /usr partition being full. After redimensioning and various packages reinstalls I fall on this:
systemctl --user status Failed to get D-Bus connection: Erreur inconnue -1
View 1 Replies
View Related
Jun 1, 2015
On my Raspberry (I know but I could not get any response in raspberry-forums) running raspian I have a problem with a bluetooth-keyboard.
It has bluez 4.99-2 installed and I was able to pair the keyboard and make it trusted and when I run "bluez-test-input connect <address>" I can use it as an input device, but the problem is that when the keyboard goes into a standby-mode after some inactivity the connection is lost and not reestablished. To make it work again I have to run the bluez-test-input command again.
Now when I use the keyboard on my Android-device it also goes into standby but as soon as I start to type again it automatically reestablishes the connection - this is what I would like to achieve on the Rasperry.
My fundamental problem is that I don't know anything about bluetooth really...
I assume that on Android the keyboard initiates a connection when it comes back from sleep but on Raspbian the connection is initiated from the Pi and when the connection is lost the keyboard may try to reconnect but maybe there is no "bluetooth-server" on the Pi to accept the connection but that is just guesswork from someone that really has no clue...
View 0 Replies
View Related
Jul 18, 2015
I am struggling to find out how to start the connection to my VPN on boot?
View 1 Replies
View Related
Aug 9, 2015
My network configuration is in a weird situation, that I always need to run dhclient manually each time after a network connection is established. When my computer connects to a router, sometimes it won't get a valid IP, and it uses an automatically generated fake Internet IP. In this situation, it won't connect to the Internet at all. Sometimes it get a valid local network IP, but still cannot connect to WAN, and could only connect to my router's address (both through ping and through router's management webpage). In both situation, it can be solved by a simple dhclient run.
This is my /etc/network/interfaces file:
Code: Select all# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
iface wlan0 inet dhcp
and this is my /etc/NetworkManager/NetworkManager.conf:
Code: Select all[main]
plugins=ifupdown,keyfile
dhcp=dhclient
#no-auto-default=FE:50:52:BE:46:4C,
View 3 Replies
View Related
Feb 20, 2016
I rebooted my vServer (Debian 8) and it doesn't came back up. Well, I used the rescue console on my server and the server seems to be running fine, except the network was broken. So I tried 'ifconfig' but nothing came up. So I tried to enable my interface with 'ifconfig venet0 up', and now it appears in my ifconfig list
Code: Select allroot@i67svof:/var/www# ifconfig
venet0Â Â Link encap:UNSPECÂ HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00Â
     UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
     RX packets:557 errors:0 dropped:0 overruns:0 frame:0
     TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
     collisions:0 txqueuelen:0
     RX bytes:36463 (35.6 KiB) TX bytes:0 (0.0 B)
My HWaddr doesn't look that well :) 'ip addr' prints this result:
Code: Select allroot@i67svof:/var/www# ip addr
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN
  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
These are the last lines in /var/log/syslog:
Code: Select allroot@i67svof:/var/www# tail /var/log/syslog
Feb 20 11:34:16 i67svof systemd[1]: Stopping memcached daemon...
Feb 20 11:34:16 i67svof systemd[1]: Stopping Network Name Resolution...
Feb 20 11:34:16 i67svof systemd[1]: Stopping Regular background program processing daemon...
Feb 20 11:34:16 i67svof systemd[1]: Stopping Login Prompts.
[Code] .....
And finally my network config in /etc/network/interfaces
Code: Select all# Auto generated lo interface
auto lo
iface lo inet loopback
# Auto generated venet0 interface
auto venet0
[Code] .....
View 1 Replies
View Related
Feb 7, 2010
I have been tol that for debugging purposes it is often useful to have a serial connection to a computer. I have some diskless workstations thats freezes during boot. I guess X has someting to do with this, but I'm not sure. Since the workstations are diskless, syslog is not stored locally so I cant se what is happening after the NiC stops working. When the worstation freezes, screen is going black, all lights on the keyboard turns on, lights on NiC is going black. It is not possible to ping the workstation.
View 1 Replies
View Related
Feb 17, 2010
I am getting this error when I try to bring up IPSec Tunnel.Starting connection with command /usr/sbin/ipsec auto --up 'paycode-to-vivacom' ..
104 "paycode-to-vivacom" #7: STATE_MAIN_I1: initiate
003 "paycode-to-vivacom" #7: received Vendor ID payload [draft-ietf-ipsec-nat-t-ike-02_n] method set to=106
003 "paycode-to-vivacom" #7: ignoring Vendor ID payload [FRAGMENTATION c0000000]
[code]....
View 3 Replies
View Related
Mar 9, 2010
I have configured a RaLink wireless card to connecto to an 802.1x network. I connect by selecting the network, and the i give the credentials(username/password). How do i configure Debian to automatically connect to this network when a session begins?
View 2 Replies
View Related
Apr 27, 2010
I have installed GNU/Linux Debian on my computer (desktop) and i have ubuntu installed on my laptop. Now I want to start the ssh connection between both the computers. I want to make Debian as server and Ubuntu as client. Please can you guide me with this (installation and setup). Also the key values of the configuration file (ssh_config & sshd_config) are expected.
View 10 Replies
View Related
Nov 4, 2010
Alright, I was playing with the VPN capabilities in KDE4 on Squeeze AMD64 on my personal laptop (see my signature) and found it very easy to create a VPN connection and connect, but that's it. I made a VPN tunnel to one of my client locations as a test, but could use rdesktop to get into the server. Then I realized I couldn't ping the server either. I also lost all ability to browse the web and everything while the VPN was up. Upon checking ifconfig as root, I saw that it created "ppp0" and hat it had pulled an IP from the client network, but all of my networking capabilities were gone. What gives? What is it that I am missing?
View 4 Replies
View Related
Feb 22, 2011
When I click on Network Manager client in the Gnome Panel -> vpn connections -> configure vpn, the add button is not enabled.
View 5 Replies
View Related
Mar 20, 2011
About an hour ago i did an update on my Debian Squeeze. After the update was completed my LAN connection stopped working.. now i have to connect my computer to my router with a usb cable instead with my ethernet cable.. also, on the network connection, on the wired network section it says that the device(ethernet) has not been managed..
View 1 Replies
View Related
Jul 5, 2011
How to enable wifi? I downloaded and installed Debian 6.00 and as I couldn't get online with my Tenda USB Wireless Adapter. I downloaded Debian 6.00 again, this time the CD Net Install version with Firmware included. However, the added firmware version of Debian does not find my wireless either. My wireless adopter is shown as Bus 001 Device 003: ID 148f:3072 Ralink Technology, Corp. RT3072 Wireless Adapter. There is a Network Icon in the Panel which when clicked shows "Create New Wireless Network". I have put in my ISP related network and my password and rebooted, but all I get is the message on my desktop:
"The Network Connection has been disconnected."
That isn't very polite, is it? Who has disconnected it and why remains a mystery to everyone except the culprit(s). I think I must have missed a basic step in the Wifi Enabling process. I checked the Use Permissions and everything is fine there, as User I have permissions to use modems and do networking and so forth. Also I should like to try "modprobe" but I see the package isn't in Synaptic Package Manager.
View 7 Replies
View Related
Aug 17, 2015
In one of my customers, the new internet connection have no public IPV4(using GCNAT), only public IPV6.
And there are various services that require external access, like, vpn (openvpn), a java/web system, ssh, rdp(windows).
fileServer(by vpn).
All is running ok in IPV4.Maybe, the solution is a NAT 6to4. We know this is the future, no more public IPV4.
View 0 Replies
View Related