Linux dual-Nic intranet/Internet settings (Raspberry Pi) Raspberry Pi dual-Nic internet/intranet settings, there are the following methods. 1) use a wired network to connect a PC to a gateway. 2) the other is wired to the intranet and wireless to the Internet. Www.2cto.com, even if there are multiple NICs in the config
# Modify the configuration file
Raspberry Pi has integrated the I2C driver and only needs to be started.
Modify configuration file
Sudo nano/etc/modprobe. d/raspi-blacklist.conf
! [Configure] (http://images.cnblogs.com/cnblogs_com/hangxin1940/466697/o_rasp_i2c1.png "comment the third line ")Comment out the third line, CTRL + x save
Next, start the I2C modu
Recently in the toss Raspberry Pi, at that time also did not pay attention to, look at the price, bought Mercury network MW150US Ultra-small 150M wireless USB card. But the tragedy was to use iwconfig and not recognize the wireless card But with lsusb words can see MW150US with is Rtl8188eu chip, search on the network, finally found a solution 1. first download the latest Linux kernel for compiling and inst
1, install the required packagesudo apt-get install Hostpad UHDCPD2. Configuring the/etc/network/interfaces FileConfigure Wlan0 as static addressThe format is as follows:Iface wlan0 inet StaticAddress 192.168.10.1Netmask 255.255.255.0Save, exit3. Configuring the/etc/udhcpd.conf FileSet up automatic assignment of address ranges for DNS gateways, etc.Specific as follows: (according to individual needs to configure)Start 192.168.10.2 # This is the range of IPs that the Hostspot would give to client
This blog will show you how to install three different text-based Web browsers on Raspberry Pi. The original article can be found here or at the bottom of this article. Most Web browsers run a little hard on the small school, or consume a lot of resources, so an alternative solution is to use a web browser based on command line.
So far, text-based browsers have not been able to do anything that a common bro
Touch screen buy back for a long time no use, recently found that he is can touch. Tinker a bit.The personal use of Raspberry Pi is the official recommendation system, the version isThe best part of this version is that the kernel has compiled the Egalax touchscreen, and the Apt-get upgrade updates the system to use the touchscreen recently.Calibration of the touch screen is possible, the calibration tool x
Linux-Raspberry Pi system partition
There are two main partition commands: fdisk and parted.Both commands require the root permission,First, we will introduce the fdisk command: Fdisk allows you to view the usage of the current file system.
fdisk -l
Because I installed the system on the SD card, the partition starts with/dev/mmcblk0. We can see that there are currently three actual partitions (/dev/mmcblk
that the appropriate content is modified according to the actual situation:
[Unit]
Description=wireless Static IP Connectivity
Wants=network.target
Before=network.target
[Service]
Type=oneshot
Remainafterexit=yes
Environmentfile=/etc/conf.d/wifi
EXECSTART=/SBIN/IP Link Set Dev wlan0 up
EXECSTART=/SBIN/IP addr Add 192.168.34.1/24 broadcast 192.168.34.255 Dev Wlan0
EXECSTOP=/SBIN/IP addr Flush Dev Wlan0
EXECSTOP=/SBIN/IP Link Set Dev
1. Identify the internet cardWith the command LSUSB, you can continue down if you can identify it.2. Install the NIC driverThe Internet card will usually have 2 functions, one is a virtual CD-ROM, used to install the driver, and the other is a network connection modem.Under Linux, it is necessary to install the Usb-modeswitch driver to correctly identify and start the modem function of the NIC.sudo apt-get
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.