Study: ComputerScience(CS)/CS: Network

[Network] Ubuntu ๋ฌด์„  ๋žœ์นด๋“œ ์„ธํŒ…(NEXT-1305AC-AT, rtl88x2BU): Window Linux ํ˜ธํ™˜๊ฐ€๋Šฅ

DrawingProcess 2023. 10. 5. 02:39
๋ฐ˜์‘ํ˜•
๐Ÿ’ก ๋ณธ ๋ฌธ์„œ๋Š” 'Linux Ubuntu ๋ฌด์„  ๋žœ์นด๋“œ ์„ธํŒ…(NEXT-1305AC-AT, rtl88x2BU)'์— ๋Œ€ํ•ด ์ •๋ฆฌํ•ด๋†“์€ ๊ธ€์ž…๋‹ˆ๋‹ค.
์œˆ๋„์šฐ, ๋ฆฌ๋ˆ…์Šค ํ˜ธํ™˜๊ฐ€๋Šฅํ•œ ๋žœ์นด๋“œ์ธ NEXT-1305AC-AT๋ฅผ ๊ตฌ๋งคํ•˜๊ณ , ์ด๋ฅผ ์„ค์น˜ํ•˜์—ฌ ์„ธํŒ…ํ•œ ๊ณผ์ •์— ๋Œ€ํ•ด ์ •๋ฆฌํ•˜์˜€์œผ๋‹ˆ ์ฐธ๊ณ ํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.

1. Linux ๋ฆฌ๋ˆ…์Šค

1) ๊ณต์‹ ์•ˆ๋‚ด: ๋ฆฌ๋ˆ…์Šค ์ปค๋„ ๋ฌธ์ œ๋กœ ์„ค์น˜ ์•ˆ๋จ

๋“œ๋ผ์ด๋ฒ„ ๋‹ค์šด๋กœ๋“œ

๋‹ค์šด๋กœ๋“œ ๋งํฌ: https://eznet.synology.me/download/NEXT-1201AC_1305AC-AT_DRVIER.zip

๋“œ๋ผ์ด๋ฒ„ ์„ค์น˜ 

$ cd ./NEXT-1201AC_1305AC-AT_DRVIER/Driver/linux
$ chmod +x ./install.sh
$ sudo ./install.sh

-bash: make: command not found ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค.

$ sudo apt install build-essential
$ sudo ./install.sh

๋‹ค์Œ๊ณผ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•˜์˜€์œผ๋ฉฐ, ์ด์™€ ์œ ์‚ฌํ•œ ์‚ฌ๋ก€๊ฐ€ ๋งŽ์•˜์Šต๋‹ˆ๋‹ค. ์ด๋Š” ๋ฆฌ๋ˆ…์Šค ์ปค๋„ ๋ฌธ์ œ๋กœ ํŒ๋‹จ๋ฉ๋‹ˆ๋‹ค.

์ด๋ ‡๊ฒŒ ๋™์ผํ•œ ํ˜„์ƒ์„ ๊ฒช๋Š” ์‚ฌ๋žŒ๋“ค์ด ๋งŽ์•˜์ง€๋งŒ, ํ•ด๋‹น ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์œผ๋กœ๋Š” ํ•ด๊ฒฐ๋˜์ง€ ์•Š์•„ ๋‹ค๋ฅธ ๋ฐฉ๋ฒ•์„ ์ฐพ์•„๋ณด์•˜์Šต๋‹ˆ๋‹ค.

2) morrownr / 88x2bu

์ฐพ๋‹ค๋ณด๋‹ˆ morrownr/88x2bu-20210702 Github๋ฅผ ์ฐพ๊ฒŒ๋˜์—ˆ๊ณ , ์ด ๋ฐฉ์‹๋Œ€๋กœ ์ง„ํ–‰ํ•˜์ง€ ํ•ด๊ฒฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

$ sudo apt update && sudo apt upgrade
$ mkdir -p ~/src
$ cd ~/src
$ git clone https://github.com/morrownr/88x2bu-20210702.git
$ cd ~/src/88x2bu-20210702

์ดํ›„ ์•„๋ž˜์˜ ๋‘ ๋ช…๋ น์˜ gcc ๋ฒ„์ „์ด ๋™์ผํ•œ์ง€ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค. ๋‹ค๋ฅผ ๊ฒฝ์šฐ๋Š” ํ•ด๋‹น ๊นƒํ—ˆ๋ธŒ ๋‚ด๋ถ€์—์„œ ํ™•์ธํ•˜์‹œ๊ณ  ์กฐ์น˜ํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.

$ cat /proc/version
$ gcc --version

์ดํ›„ shell ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‹คํ–‰์‹œ์ผœ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค. make๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ manualํ•˜๊ฒŒ ์„ค์น˜ํ•˜๊ณ  ์‹ถ์€ ๊ฒฝ์šฐ์—๋„ ํ•ด๋‹น ๊นƒํ—ˆ๋ธŒ ๋‚ด๋ถ€์—์„œ ํ™•์ธํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.

sudo ./install-driver.sh

์ฐธ๊ณ 

๋ฐ˜์‘ํ˜•