2

I have installed debian, but the wireless card is less common, Debian won't recognize it. The driver need to be compiled and installed, but to do that, I must have build-essential and Linux-header-generic updated.

The instruction of how to compile and install the driver is written here however assumed a internet connection.

How can I achieve this without Internet and without gui?

I manage an outline here:

  1. download all the packages and its dependences and the dependences' dependences needed to build the driver. Basically it is build-essentials and the newer version of linux-image in the backports and linux-headers corresponding to that image. How to download them from a ubuntu machine or a windows machine?

  2. make sure the above step has downloaded all the dependences, because in this offline computer, I don't want to see any dependences issues, because it can solve it.

  3. copy the packages to a usb drive, and read the content of that usb drive. Then install the packages by dpkg. How to read the content and enter the usb folder from terminal?

  4. make and make install the wireless driver from terminal. this step is straightforward if above two are succeed.

  5. connect the wifi from terminal, download desktop environment and do the updates. How to do this, need wifi-menu?

edit 1

The debian installed is the latest stable version:multi-arch.iso. The tablet model has a 64bit cpu and 32bit UEFI, 64G storage and 2G ram, the wireless card is rtl8723bs.

edit 2 output of lspci

enter image description here

  • Please edit by adding the output of lspci -knn | grep Net -A2 – GAD3R Sep 1 '16 at 13:05
  • @GAD3R No output. – 喵喵是我的猫猫 Sep 1 '16 at 13:11
  • Run update-pciids then lspci -knn | grep Net -A2 – GAD3R Sep 1 '16 at 13:13
  • @GAD3R first command not found, I can't connect via ethernet. It's a tablet with weird wireless card. – 喵喵是我的猫猫 Sep 1 '16 at 13:15
  • @GAD3R The wireless card is Realtek RTL8723BS 802.11n SDIO Wireless LAN, the driver is on github . I have put the link in the post. Do you know how to check if I have a desktop environment installed? – 喵喵是我的猫猫 Sep 1 '16 at 13:20
1

Update your system and install the required package to compile the wifi driver using PrintUris tool.

Run the following commands:

apt-get --print-uris update > myupdateurilist.htm
apt-get --print-uris --yes install build-essential  > packageuri.htm
apt-get --print-uris --yes install linux-headers-4.6.0-0.bpo.1-amd64  > packageuri2.htm

Copy myupdateurilist.htm , packageuri.htm and packageuri2.htm to your USB stick. Open htm file on another connected OS and download them one by one :(e,g: on Linux machine)

wget http://ftp.debian.org/debian/pool/main/l/linux/linux-compiler-gcc-4.9-x86_4.6.4-1~bpo8+1_amd64.deb

It's recommanded to fix broken packages and upgrade your distrubution using print-uris tool .

Once downloaded install all packages on your offline machine, Then compile the needed driver.

  • I think the three line code snippet is execute on the offline machine. For that machine is just fresh installed, it doesn't know package build-essential, when I try to execute apt-get --print-uris --yes install build-essential > packageuri.htm it returns package build-essential has no installation candidate. – 喵喵是我的猫猫 Sep 1 '16 at 14:26
  • Run the update first – GAD3R Sep 1 '16 at 14:49
  • no internet, what is the purpose of update? failed to fetch it returns.. – 喵喵是我的猫猫 Sep 1 '16 at 14:57
  • Use apt-offline tool blog.sleeplessbeastie.eu/2014/01/30/… – GAD3R Sep 1 '16 at 15:01
0

you may have a look at the following link: http://fcampanini.blogspot.co.uk/

In the post I wrote about how to manually configure wireless on a Linux box. @GAD3R you are right about lspci but I would run the command in this way:

lcpci | grep -A2 -i net

with the -i option within grep, it will not be case sensitive (reason why you probably have an empty result from lspci).

Post your output code. Cheers Francesco

PS: as you don't have any output from lspci I would suggest you to check dmesg:

cat /var/log/dmesg | grep -i net
  • honestly, no output. – 喵喵是我的猫猫 Sep 1 '16 at 13:35
  • did you try the command I added in my edited answer ? Can you please specify which is the tablet model you are using and how did you succeed to install Debian on it ... which Debian version are you using ? Is this a distribution derived from Debian or an "original one" ? – Francesco Campanini Sep 1 '16 at 14:02
  • I have add the information. However, still no output of your second command. x doesn't start at system starts, system starts directly enter to tty1, after executing startx the output is outlined at this post: unix.stackexchange.com/questions/307203/… – 喵喵是我的猫猫 Sep 1 '16 at 14:11
  • Can you just use lcpci with no parameter and post the output and look within dmesg for any lines which may contain the strings wireless or Realtek_ – Francesco Campanini Sep 1 '16 at 14:29
  • The device name is Realtek RTL8723BS WiFi/Bluetooth but it not shown in lspci. see my edit. – 喵喵是我的猫猫 Sep 1 '16 at 14:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.