So I want to connect to the Internet with my Raspberry Pi, but I can't. I am using SSH (ethernet) to give it commands but it just won't work. I have tried to bridge my wlan1 external adapter (TP-Link) from my neighbor's WiFi (have got permission to do that), bridge it to Ethernet so I can connect it to a router that will make the connection wireless on my house.
The problem is that I've read a bunch of tutorials but have messed up the network configurations a lot.
When I execute: ifconfig
This is what I get:
pi@raspberrypi:~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:30:cc:67
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::9e87:202e:734f:bb07/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:175 errors:0 dropped:0 overruns:0 frame:0
TX packets:113 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:80635 (78.7 KiB) TX bytes:18032 (17.6 KiB)
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:65536 Metric:1
RX packets:256 errors:0 dropped:0 overruns:0 frame:0
TX packets:256 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:20736 (20.2 KiB) TX bytes:20736 (20.2 KiB)
wlan0 Link encap:Ethernet HWaddr b8:27:eb:65:99:32
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:7 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1073 (1.0 KiB) TX bytes:0 (0.0 B)
wlan1 Link encap:Ethernet HWaddr 60:e3:27:0d:e2:92
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)
I can't even connect to the Internet first, to do apt-get update
etc. - how do I reset all my network configurations to default?
And after that, how do I get the wlan1 adapter to bridge the network over to Ethernet, so I can plug it into the router right away?
Thanks!