This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:bluetooth [2017/10/20 21:21] 1.241.172.144 created |
wiki:bluetooth [2017/11/12 00:13] (current) 1.241.172.144 |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | [[Module]] | ||
+ | |||
+ | |||
+ | [[자료]] | ||
Line 9: | Line 13: | ||
Android에 연결되어 있음 | Android에 연결되어 있음 | ||
+ | |||
+ | |||
+ | [[PAN : Slave Operation]] | ||
+ | |||
+ | [[PAN : NAP Operation]] | ||
+ | |||
+ | <code> | ||
+ | # ifconfig | ||
+ | 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:0 errors:0 dropped:0 overruns:0 frame:0 | ||
+ | TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 | ||
+ | collisions:0 txqueuelen:1 | ||
+ | RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) | ||
+ | </code> | ||
+ | 와 같이 부팅 후 eth0가 잡히지 않은 경우 | ||
+ | |||
+ | 3가지의 형태로 이를 수정 할 수 있다. | ||
+ | |||
+ | 1) u-boot에서 IP address를 전달 하여 이를 적용하는 방법 | ||
+ | |||
+ | 2) 고정 ip를 설정하는 방법 | ||
+ | |||
+ | 3) DHCP를 통해 받아오는 방법 | ||
+ | |||
+ | u-boot에서 IP address를 전달 하여 이를 적용하는 방법 | ||
+ | |||
+ | |||
+ | |||
+ | 고정 ip를 설정하는 방법 | ||
+ | |||
+ | /etc/network/interfaces 를 수정하여 적용한다. | ||
+ | 아래에 예를 들었다. | ||
+ | |||
+ | |||
+ | <code> | ||
+ | #cat /etc/network/interfaces | ||
+ | auto lo | ||
+ | iface lo inet loopback | ||
+ | auto eth0 | ||
+ | iface eth0 inet static | ||
+ | address 192.168.0.1 | ||
+ | netmask 255.255.255.0 | ||
+ | network 192.168.0.0 | ||
+ | broadcast 192.168.0.255 | ||
+ | gateway 192.168.0.1 | ||
+ | dns-nameservers 168.126.63.1 168.126.63.2 | ||
+ | </code> | ||
+ | |||
+ | DHCP를 통해 받아오는 방법 | ||
+ | |||
+ | /etc/network/interfaces 를 수정하여 적용한다. | ||
+ | 아래에 예를 들었다. | ||
+ | |||
+ | <code> | ||
+ | #cat /etc/network/interfaces | ||
+ | auto lo | ||
+ | iface lo inet loopback | ||
+ | auto eth0 | ||
+ | iface eth0 inet dhcp | ||
+ | </code> | ||
+ | |||
+ | <code> | ||
+ | #brctl addbr pan0 | ||
+ | #brctl setfd pan0 0 | ||
+ | #brctl sto pan0 off | ||
+ | #brctl addif pan0 | ||
+ | |||
+ | |||
+ | </code> | ||
+ | |||
+ | |||
+ | |||
+ |