I am trying to figure out how to set up my wifi/wired connections manually with raspbmc. I know the recommended method for noobs, like myself, is to use the wireless network plugin, but i bought the pi with the intention of learning a bit more about Linux. I was successful at setting up wifi manually on my raspbarian image using the /etc/network/interfaces file and a creating another file for my wireless settings. My question is, would the same settings possibly work with raspbmc or would i need to go about doing this another way? I can't find a good tutorial on manual configuration of wifi for raspbmc. The /etc/networ/interfaces file on my raspbmc image is empty and I have read somewhere that raspbmc uses a different method, but it didn't really go into details.
The following is what my file looks like in raspberian's /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
address 192.168.1.100
gateway 192.168.1.254
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.0
wpa-conf /etc/wpa.config
iface default inet dchp
/etc/wpa.config
network={
ssid="*******"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
psk="*******"
}
I am assuming that my wifi dongle is already installed, because when I run ifconfig
I get the following at the end:
wlan0 Link encap:Ethernet HWaddr 00:18:4d:46:9c:ca
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)
Any advice, or suggestions on where to start, or explanations of what is different between how raspbmc and raspbarian work to connect to the internet would be greatly appreciated. I know that I COULD set up a static IP lease on my router and configure this with the wifi settings plugin, but I really want to learn. I just don't know where to start on this.