View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Aug 31, 2005 10:23 am 
Offline
Joined: Wed Aug 31, 2005 9:57 am
Posts: 1
Location: Denmark
I have a problem with my networking on my mythtv R5A16. I have made an apt-get upgrade and now when I reboot my mythtv gets ip 192.168.1.79 and my /etc/networking/interfaces file says:
# The loopback interface
# automatically added when upgrading
auto lo eth0
iface lo inet loopback

iface eth0 inet static
address 192.168.1.131
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

Any suggestions ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 31, 2005 11:03 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
netcardconfig

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 24, 2005 8:38 pm 
Offline
Joined: Wed Sep 14, 2005 5:03 pm
Posts: 4
I have same problem.

netcardconfig works great. . . . until I reboot. :evil:

/etc/network/interfaces shows me the network I want, the computer is just looking elsewhere. Any ideas on where? Any way to make the netcardconf changes stick?

Pretty sure this is making mysql hiccup, too, but first things first

EDIT: I just wanted to add that netcardconfig has the correct setting in the fields, I just have need to click through it


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 24, 2005 10:07 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
you didn't happen to install pump did you?

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 25, 2005 4:35 pm 
Offline
Joined: Wed Sep 14, 2005 5:03 pm
Posts: 4
I guess I did. Here's a current status:

@mythbox:/home/mythtv# pump -s
Device eth0
IP: 192.168.0.102
Netmask: 255.255.252.0
Broadcast: 192.168.3.255
Network: 192.168.0.0
Boot server 192.168.0.2
Next server 0.0.0.0
Gateway: 192.168.0.2
Gateways: 192.168.0.2
Nameservers: 192.168.0.2
@mythbox:/home/mythtv# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:2F:C3:E1:23
inet addr:192.168.1.79 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:2fff:fec3:e123/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3025 errors:0 dropped:0 overruns:0 frame:0
TX packets:466 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:317344 (309.9 KiB) TX bytes:108512 (105.9 KiB)
Interrupt:18 Memory:dc800000-dc801080

@mythbox:/home/mythtv# ping 192.168.0.102
connect: Network is unreachable

The man page refers to a /etc/pump.conf file, which does not seem to exist. Other references make me think I installed this as part of a wine dependency. Does anyone think a "# apt-get remove wine" might bring me back? I was just screwing around with wine, I don't need it for anything. Ah, heck. I'll do it anyway and post my results. . . Stand by!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 25, 2005 4:55 pm 
Offline
Joined: Wed Sep 14, 2005 5:03 pm
Posts: 4
Okay, very strange. Pump (and Wine for good measure) removed succesfully (or so I'm told). Now, so you can picture this, I'm doing this all via ssh.

/etc/init.d/networking restart

Everytime I restart networking, mythbox switches between the IP I want (192.168.0.102) and 192.168.1.79. So, I have two consoles open, each with a ssh session. Everytime I restart, I just have to switch consoles.

Rebooting leaves me with the IP I don't want (192.168.1.79).

Anyone with advice? Just the right .conf file to look at even!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 30, 2005 11:15 am 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
I would highly recommend never running apt-get upgrade...

It hosed my system to the point that I had to re-install (which isn't a super big issue when you run a backup...)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 10, 2005 10:08 pm 
Offline
Joined: Mon Oct 10, 2005 8:22 pm
Posts: 1
If those above have not yet found an answer to this problem and for those who might Google their way here, I did come up with a solution, at least on my machine.

I too had a working setup with a static Ip address, did an apt-get update and upgrade, then found my address had been changed to 192.168.1.79 and networking no longer operated correctly. Pump would correct the address, as would netcardconfig, but rebooting put it back to 79. Since this is a MythTV machine, that wouldn't do. It has to be bulletproof for the family to use.

After an extended period of hunting through configuration files and routing tables, I decided to look in /etc/rc5.d for startup files that had changed at the time of the apt-get upgrade. There were several, but one immediately caught my eye - S12laptop-net. Researching this, I found that it is a package to support the built-in ethernet card on laptops and that it will attemp to configure eth0.

Since my machine is a tower sitting in the corner behind my tv, I didn't see any reason to be running laptop utilities, so I renamed the file in /etc/rc5.d to bacS12laptop-net and then rebooted.

After bootup I ran ifconfig and no more 192.168.1.79, I was back to my static IP and networking was fine.

From this point, I suppose one could use update-rc.d to remove the link to the actual script in /etc/init.d, or attempt to configure laptop-net to make it work right, but I just left it with the renamed file.

cheers


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 28, 2006 2:45 pm 
Offline
Joined: Tue Mar 28, 2006 2:42 pm
Posts: 1
(sorry for bumping an old thread, I wanted to add useful info)

Code:
dpkg-reconfigure laptop-net

allows you to reconfigure laptop-net for your IP info.

Also,
Code:
apt-get remove laptop-net

will remove it.

-=Russ=-


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu