LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-30-2004, 03:49 AM   #1
zby
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian
Posts: 8

Rep: Reputation: 0
manual network reconfiguration at restart


Somehow at the installation I've choosed the option to reconfigure the network connection at boot time. Now when I have a broadband connection and the system works as my server I would like to get rid of this, but I cannot find where in the start up scripts it is run.
 
Old 06-30-2004, 10:20 AM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
the rc is at /etc/init.d/networking - the configuration-files for your network interfaces are in /etc/network/. "interfaces" & "if-up.d/*" might be files you are searching for.

sl mritch.
 
Old 06-30-2004, 11:27 AM   #3
zby
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Of course I did look in the /etc/init.d/networking script - but I could not find it there. I don't know if I was clear enough about what is that problem I am talking about - this is something that stops the booting procedure and asks for a new IP.
 
Old 06-30-2004, 11:42 AM   #4
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
please send in your /etc/network/interfaces & some information 'bout your network/system-configuration. do you use dhcp? what was the thingy you think you choose wrong at installtime?
we'll surely need some info to help you out here ;-).

sl mritch.
 
Old 06-30-2004, 12:08 PM   #5
zby
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
I don't think my interfaces matter. But here it is:

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255

Basicly that was some configuration for some local network - but now I added dhcp and it reconfigures the IP - I run it after all the other network configuration (I just added another another script to /etc/init.d and S12dhcp link in the /etc/rc3.d directory). But it should not matter as since I just added that after I got broadband, and the process asking for the IP was working before that as well as now.
 
Old 06-30-2004, 12:36 PM   #6
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
isn't your broadband ether? if you don't have that eth0 network you should commend it out in your ..rk/interfaces even if it don't hurt now. you sayd your ip-assignment through dhcp is alright.
what's your current network configuration then? can you reply that message about the question for a new IP address? and where in the boot process does it show up? (maybe it's not 'bout your network/routing). please send a route -n and ifconfig -a so i know your network. i can't envisage your network topologie right now.

sl mritch.
 
Old 07-02-2004, 04:37 AM   #7
zby
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
I think I found the culprit. It was the /sbin/netenv script linked to /etc/rcS.d/S40netenv.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network reconfiguration Sarcha Linux - Networking 0 02-17-2005 03:17 PM
Network Card needs reconfiguration after reboot in SuSE 9.1 kshaffer Linux - Networking 3 10-22-2004 06:03 PM
Network Card needs reconfiguration after reboot in SuSE 9.1 kshaffer SUSE / openSUSE 4 10-22-2004 04:45 PM
Samba freezes upon manual restart ironChimp Linux - Networking 0 03-02-2003 03:49 PM
manual network config chosmer Linux - Networking 3 07-26-2002 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration