AutoCar

본문 바로가기
사이트 내 전체검색


AutoCar
AutoCar

1. wifi 설정하기

페이지 정보

작성자 관리자 댓글 0건 조회 955회 작성일 21-07-12 15:00

본문

1. wifi 설정하기

autocar에 접속하기



usb 케이블을 autocar 에 연결하고 웹브라우저에서 192.168.55.1:8888 에 접속한다.



1.PNG

비밀번호는 soda 이다.



2.PNG


Other -> Terminal 을 선택한다.


exit 를 실행한다.


3.PNG


wifi 설정하기



sudo vi /etc/network/interface 파일을 수정한다.


4.PNG


auto wlan0 lo eth0 eth0:0  


iface wlan0 inet dhcp

  wpa-ssid "ssid" 

  wpa-psk "password"


ssid와 password를 수정하고 저장한다.



root 암호 변경하기


$ sudo passwd                    

Enter new UNIX password: 

Retype new UNIX password: 

passwd: password updated successfully



재부팅한다.


$ sudo reboot



아이피 확인



재부팅이 되면 아이피를 확인한다.


$ ifconfig

ap0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.2.1  netmask 255.255.255.0  broadcast 192.168.2.255

        inet6 fe80::204e:f6ff:fe0a:12d5  prefixlen 64  scopeid 0x20<link>

        ether 22:4e:f6:0a:12:d5  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 50 overruns 0  carrier 0  collisions 0

        device interrupt 42  


can0: flags=193<UP,RUNNING,NOARP>  mtu 72

        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 10  (UNSPEC)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device interrupt 63  


eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.101.101  netmask 255.255.255.0  broadcast 192.168.101.255

        ether 48:b0:2d:2f:7b:10  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

        device interrupt 37  


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 1  (Local Loopback)

        RX packets 589  bytes 60961 (60.9 KB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 589  bytes 60961 (60.9 KB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


rndis0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 2a:b1:a1:ba:45:d9  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


usb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        ether 2a:b1:a1:ba:45:db  txqueuelen 1000  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.1.101  netmask 255.255.255.0  broadcast 192.168.1.255

        inet6 fe80::224e:f6ff:fe0a:12d5  prefixlen 64  scopeid 0x20<link>

        ether 20:4e:f6:0a:12:d5  txqueuelen 1000  (Ethernet)

        RX packets 9060  bytes 1929630 (1.9 MB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 8591  bytes 10048089 (10.0 MB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0



wlan0가 wifi 접속 ip를 보여준다.

원격에서 터미털로 접속이 가능하게 되었다.




댓글목록

등록된 댓글이 없습니다.


개인정보취급방침 서비스이용약관 모바일 버전으로 보기 상단으로

TEL. 063-469-4551 FAX. 063-469-4560 전북 군산시 대학로 558
군산대학교 컴퓨터정보공학과

Copyright © www.leelab.co.kr. All rights reserved.