For some reasons I have to change my address to touch internet, but I don't know how to do it right after installation.
I tried in file rc.conf
eth0='............. hw ether xxxxxxxxxxxx'
i have tried also to do that and i succeded.
eth1="eth1 hw ether 00:00:00:00:00:FF 192.168.1.1" INTERFACES=(lo eth1)
eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:FF inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1
i use a random mac adress. it was only for testing
Give what you have. To someone, it may be better than you dare to think.
Thank you Wonder:)
I tried again and succeed.
what if im using dhcp then do i have to do this:
eth1="eth1 hw ether 00:00:00:00:00:FF dhcp"
or do i do something else?
For dhcp, you need to do something a little more custom-made - the syntax above won't work. You could put all the required commands in /etc/rc.local, or you could use netcfg with the mac-changing command as a PRE_UP.
netcfg details here.
could you elaborate on the PRE_UP, the wiki didn't say much about it, where do i put it(in the netcfg network profile?) and how does it work?
and in the wiki for
NETWORKS=("auto-wireless <interface>" ipw0 ethernet)
what the "auto-wireless <interface>" does is that it scans for available networks in the current vicinity am i correct? does this scan for all networks or only certain networks specified the the profile files?
and for In rc.conf set NETWORKS=() to menu. to get a menu at boot do i do something like this:
NETWORKS=(menu profile1 profile2)?
Last edited by unregistered (2008-04-11 15:12:05)
Have a look in /etc/network.d/examples - PRE_UP is explained in one of them.