Page 1 of 1

Have to restart my router (wired connection) each boot,help!

Posted: Wed Jan 16, 2013 10:43 pm
by wolf1_o
Hi,

I just installed the mint cinnamon 14.1, and have the following strange problem:
I have a dual boot (along with win 7x64), connected by wire (desktop) to a router (cisco linksys e4200). In the windows it works perfectly each time, as usual. in the Linux mint, it won't connect for some reason. It will work only I unplug the router from electricity and turn it on again. then I get a connection in a snap!
What could be the issue?
I have a gigabyte mother board with realtek R8168/8111 Ethernet adapter, and I did try to install the realtek driver instead of the default linux one, but the result was the same. Both are working perfectly after I unplug and turn the router again, but it's really annoying to do it, not to mention It may harm the device in time.

Did anyone encounter this strange issue as well? What can I try to resolve it?

Thanks!

Re: Have to restart my router (wired connection) each boot,h

Posted: Thu Jan 17, 2013 1:21 am
by caf4926
Never experienced anything like this
I find it hard to believe it has anything to do with Mint

If you run Mint from the Live session, does the problem remain?
(If yes to above) Have you tested other Live Linux distros?
Have you run Linux or Mint before? Did it happen then?

Re: Have to restart my router (wired connection) each boot,h

Posted: Thu Jan 17, 2013 9:14 am
by wolf1_o
Hi,

It is solved!
The thing was like that: In my router I use the DHCP settings to assign a '192.168.1.100' address for my windows pc, but for some reason (even though it's the same MAC address) when the linux started (after using the windows) it didn't give the linux (probably!) this ip , or any ip and therefore no connection (to network or Internet), but as soon as I cancelled it it worked!
What I did more is assigning '100' to the windows pc, and '101' to the linux pc, and again, even though it has the same

Re: Have to restart my router (wired connection) each boot,h

Posted: Thu Jan 17, 2013 12:11 pm
by caf4926
It's a plan to assign a range of LAN IP addresses
ie: 100 > 120
will give a range.
Normally folks have a bunch of devices

If you also assign devices by MAC, it's another thing to keep in mind. But if you were using the same machine the MAC will be the same.

Re: Have to restart my router (wired connection) each boot,h

Posted: Thu Jan 17, 2013 12:31 pm
by wolf1_o
Hi,

I do have a range for all the other devices.
But I wanted '100' for the desktop all the time. and of course the MAC for the pc is the same in linux and windows, but due to a "bug" (or for an unknown reason) it won't connect back to the linux when I'm getting back from the windows boot!
It worked only after I assigned a different IP....strange but now it works...

Re: Have to restart my router (wired connection) each boot,h

Posted: Thu Jan 17, 2013 1:46 pm
by bjornmu
If you want a fixed IP address, a more obvious solution is to not use DHCP. But then you have to set the IP address, netmask, DNS servers... manually. I did this during install but you should be able to set it later using the proper network administration tool. Make sure not to use an address that falls within the range that your router allocates for DCHP. I presume this is also possible to set in Windows, but I wouldn't know how. :wink:

Re: Have to restart my router (wired connection) each boot,h

Posted: Thu Jan 17, 2013 3:34 pm
by wolf1_o
If you mean by than a "static ip" then no, I don't want a static ip!

Re: Have to restart my router (wired connection) each boot,h

Posted: Thu Jan 17, 2013 4:06 pm
by bjornmu
Yes I meant static IP. Of course that's not useful if the computer is sometimes plugged in in other locations. I've always been using static IP for my home boxes, even for my netbook when connected to my home wifi.

Re: Have to restart my router (wired connection) each boot,h

Posted: Thu Jan 17, 2013 11:52 pm
by wolf1_o
Resolved!
(Defined the IP as 'Manual' in the linux (per the DHCP reserved IP I set on my router, which works perfectly on windows) and it works!

Re: Have to restart my router (wired connection) each boot,h

Posted: Fri Jan 25, 2013 7:40 pm
by smithabcdef3
I just happened to have stumbled onto this post... I am having the same problem (Cisco e1500 router, Linux Mint 14.1, Windows 8 dual boot, Gigabyte motherboard but mine has Atheros 8161 LAN chipset). I too have a reserved IP address for my MAC address (required for port forwarding). The first time it happened I couldn't figure it out for the life of me, eventually I found that rebooting the router got it working again.

I would like to avoid manual IPs (on the Linux side, leaving DHCP for Windows) if possible, as I do move between networks occasionally, although I suppose I could do it if I have to.

I will reply here with any solutions that I find...

Cheers