PDA

View Full Version : disable IP configuration in bootup


christianden
2007-08-26, 02:25 AM CDT
Help

When my system boots, it takes 2-3 minutes to try to configure ip on my atheros wireless adapter ath0 and my wired adapter eth0, but it fails.

How can i disable ipconfiguration in the bootup :confused:

//Christian

EDIT: I am not very experienced in Fedora, but i have run Ubuntu for a while....

gala_dragos
2007-08-26, 02:42 AM CDT
that's way it takes 3 minutes to boot, because it fails. You need to manually configure your wireless connection (set ip net mask and dns) and disable it's dhcp configuration. run "system-config-network" for a graphic tool to configure network devices.

christianden
2007-08-26, 03:22 AM CDT
When i had ubuntu i had a boot time of like 30-40 sec, and it still cofigured dhcp, but first when i had logged in

gala_dragos
2007-08-26, 03:28 AM CDT
to use dhcp you must have a dhcp server in you wireless network, I doubt that you have that.

and your wireless adapted it's surely not eth0. try "ifconfig" in konsole as root to see all network devices and their configurations

Dangermouse
2007-08-26, 04:50 AM CDT
In menu adminstaration/sevices uncheck the box next to network, and check the box next to networkmanager

christianden
2007-08-26, 06:50 AM CDT
The output of my IFconfig
[root@localhost christian]# /sbin/ifconfig
ath0 Link encap:Ethernet HWaddr 00:15:AF:1E:8A:90
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:afff:fe1e:8a90/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1404 errors:0 dropped:0 overruns:0 frame:0
TX packets:1519 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:752046 (734.4 KiB) TX bytes:377725 (368.8 KiB)

eth0 Link encap:Ethernet HWaddr 00:1A:92:E4:0C:54
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:18 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:9238 errors:0 dropped:0 overruns:0 frame:0
TX packets:9238 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:48647380 (46.3 MiB) TX bytes:48647380 (46.3 MiB)

wifi0 Link encap:UNSPEC HWaddr 00-15-AF-1E-8A-90-D8-38-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4244 errors:0 dropped:0 overruns:0 frame:4827
TX packets:2092 errors:9 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:1073821 (1.0 MiB) TX bytes:449849 (439.3 KiB)
Interrupt:21

gala_dragos
2007-08-27, 12:21 AM CDT
your eth0 has no ip configuration, maybe that's why your booting is slow. why? because you probably have DHCP enabled for eth0 which tries to determine it's ip at boot time. for a graphical network configuration tool try system-config-network (need root password).

Linux For Ever
2007-08-27, 08:52 PM CDT
if you don't want your NIC (Network Interface Card) to be activated at a boot time you can do that by edit the following file:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
and change ONBOOT=yes to ONBOOT=no