I'm new to Linux and backtrack in particular and I just wanted to say that this is one very useful thread indeed. Sorted my LAN difficulties in seconds.
Cheers xatar
That is because of your /etc/network/interfaces file. If you want them permanently configured with a static ip address you must modify this file in order to achive it. For example, if you have eth0 and in the file you find something like this 'iface eth0 inet dhcp' that means that dhcp will run everytime you start networking. Instead you should prefer something like that 'iface eth0 inet static' <- this way you teach eth0 to be static, and in the line below 'address xxx.xxx.xxx.xxx', 'netmask xxx.xxx.xxx.xxx' and 'gateway xxx.xxx.xxx.xxx' all of them in separated lines.
Hope this helps!
Originally Posted by michelinok
I'm new to Linux and backtrack in particular and I just wanted to say that this is one very useful thread indeed. Sorted my LAN difficulties in seconds.
Cheers xatar
many thanks its help us good
I m using acer aspire 3682NWXCI...
my problem:
how to setup acer acpi on back track.?
i had try a few time it wont work..it give...error no such device..
pls help me.....![]()
Hello All,
I have a question here. When BT 2 is booting it comes to a point that it tries to get an IP by doing a dhcpcd on all available network interfaces. I connect wireless to my AP which is obviously secured with a wep key. So the dhcpcd fails and adds quite some seconds to the boot time. When BT 2 is up and running i can configure my wlan card, so set my wep key and connect to my AP succesfully.
What i actually want is to predefine my wep key and SSID , so that BT 2 can automatically connect to my AP at boot time and only does a dhcpcd on this particular NIC. Is there a way to achieve this?
Thanks in advance!
I would recomend using the nodhcp boot code then creating a script with your desired commands (don't forget make it executable) and adding it to /etc/rc.d/rc.local (the last script to be run on startup) with something like this:
Alternately you can use the /etc/rc.d/rc.wireless script. You can find some info on editing the conf file here (section 23.4).Code:# Start wireless config script if [ -x /path/to/script.sh ]; then . /path/to/script.sh fi
---
Useful HowTo Threads <-- Why do people think I'm joking when I link this?
Thanks for your help. Is there also a way to make the nodhcp default?
Honestly I just commented out that section of code in /etc/rc.d/rc.inet1 like this:
Code:#! /bin/sh # /etc/rc.d/rc.inet1 # This script is used to bring up the various network interfaces. # # Modified for SLAX by Tomas M. <http://slax.linux-live.org> # # /proc/cmdline 'nodhcp' option added by Martin J. Muench <mjm@remote-exploit.org> if [ "$1" = "start" -o "$1" = "" ]; then ifconfig lo down 2>/dev/null /sbin/ifconfig lo 127.0.0.1 2>/dev/null /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo 2>/dev/null # check if 'nodhcp' was set # if ! grep -w -q "nodhcp" /proc/cmdline ; then # # for eth in `ls /sys/class/net | grep -v sit`; do # check if dhcpcd is not already running for $eth interface, # in that case it was started by hotplug so don't start it again # if [ "$eth" != "lo" -a ! -e /etc/dhcpc/dhcpcd-$eth.pid ]; then # echo "/sbin/dhcpcd -d -t 10 $eth" # /sbin/dhcpcd -d -t 10 $eth # fi # done # fi fi
---
Useful HowTo Threads <-- Why do people think I'm joking when I link this?
Well...i added my card in the /etc/rc.d/rc.wireless.conf with all applicapble parameters. I also modified /etc/rc.d/rc.inet1 just like you did, to disable the dhcpcd on boot. However, after a reboot, the laptop came to the point that the mousepointer appeared and then it automatically shutdown....![]()
Even the failsafe & a attempt to boot from livecd failed with the same result. So i ended up reinstalling BT 2 all over again.
So people, Don't try this at home![]()
Hallo
I seached a long time here in the forum. Maybe I´m blind. I just want to get my wireless to work. Because I find a bit hard with all the commands in the shell (Windows Noob I know) I tryed with the.Code:wlassistant
It says:. I clickCode:Radio of your wireless card is off. Would you like to turn it on?Nothing happens.Code:Yes
Before that, I tryed to config by the console. Thats what I did:
After that a symbole in the 'tray' appears for a network connection.Code:ifconfig eth0 up ifconfig eth0 192.168.1.54 netmask 255.255.255.0 route add default gw 192.168.1.1 eth0 echo nameserver 192.168.1.1 > /etc/resolv.conf
But I can´t go on any websites with f.fox.
Strange thing is, that the LED from my WLAN is NOT on. (Normally orange light)
I have a ACER Notebook: Travel MAte 291 LMi
Wlan Card: ipw2100 (Intel Pro Wireless 2100)
And if I typethere comesCode:iwconfig -a.Code:No such device
If I type onlyI haveCode:iwconfig
I had this Problem with windows, too long time ago. I needed a driver for this switch on the notebook.Code:eth0 unassorciated ESSID:off/any Nickname:"ipw2100 Mode:Managed Channel=0 Acsess Point 00:00:00:00:00:00 Bit Rate=0 kb/s Tx-Power:off .....
Maybe you have another Tutorial link for me. This Tutorial is very usefull although my inet doesn't work![]()