View: 24858|Reply: 9

How to set static ip in orange-pi-one for raspbian system.

[Copy link]

2

threads

4

posts

16

credits

Novice

Rank: 1

credits
16
Published in 2019-1-7 18:11:37 | Show all floors |Read mode
Where to find the samples.
I had tried two cases

Case 1:
Sudo  nano /etc/dhcpcd.conf

interface eth0   ######====for raspberry pi3
static ip_address=192.168.8.119
static routers=192.168.8.1
static domain_name_servers=192.168.8.1

Case 2:
Sudo  nano   /etc/network/interfaces
# start ###
auto lo
iface lo inet loopback
# Static IP address
auto eth0      # ou auto enp0s7 (see  ifconfig)
iface eth0 inet static
        address 192.168.8.119
        netmask 255.255.255.0
        gateway 192.168.8.1
# end ###

4

threads

96

posts

931

credits

Senior member

Rank: 4

credits
931
Published in 2019-1-7 20:42:21 | Show all floors

2

threads

4

posts

16

credits

Novice

Rank: 1

credits
16
 Author| Published in 2019-1-7 23:26:38 | Show all floors
Thanks.
I try again, it is unable to set successfully.
This is similar to the case 2, posted Previously.

4

threads

96

posts

931

credits

Senior member

Rank: 4

credits
931
Published in 2019-1-8 16:43:03 | Show all floors
If you do not plan to use dhcp at all you can remove the package using APT (still assuming Raspbian base is Debian).
Did you check ifconfig to make sure the network interfaces device tag is actually eth0 and not something weird like enp0s7?

Did you try to reboot the board after setting the new configuration?

2

threads

4

posts

16

credits

Novice

Rank: 1

credits
16
 Author| Published in 2019-1-9 01:02:36 | Show all floors
Thanks.
I've got it.
The process is
~~~~~~~~~~
sudo nano /etc/network/interfaces

auto lo
iface lo inet loopback
auto eth0     
iface eth0 inet static
address 192.168.8.119
netmask 255.255.255.0
gateway 192.168.8.254
~~~~~~~~~~~~~~~~~~~~
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

(remove all content)

~~~~~~result~~~~~~~~~~~~
root@orangepi:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 7a:de:15:88:e4:fd  
          inet addr:192.168.8.119  Bcast:192.168.8.255  Mask:255.255.255.0
          inet6 addr: fe80::78de:15ff:fe88:e4fd/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:88 errors:0 dropped:0 overruns:0 frame:0
          TX packets:201 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9602 (9.3 KiB)  TX bytes:10410 (10.1 KiB)
          Interrupt:114

0

threads

112

posts

322

credits

Intermediate member

Rank: 3Rank: 3

credits
322
Published in 2022-3-2 02:18:16 | Show all floors
Keep up to date the nice deliver the results, I actually learn very few discussions during this webpage plus There's no doubt that that your chosen website site is definitely serious helpful and has now became encircles with brilliant information and facts.        Packers and Movers Pune to Ranchi

0

threads

112

posts

322

credits

Intermediate member

Rank: 3Rank: 3

credits
322
Published in 2022-3-24 06:21:12 | Show all floors
You are welcome to initial ever before focused selling price evaluation web-site intended for area sights & sightseeing and tours tours, vacation organized excursions, boys and girls things to do, out of doors exercises, vino excursions while in the UK, The european union, US, Asia, Center Far east and also world-wide traveler hotspots.        Sightseeing tours

0

threads

112

posts

322

credits

Intermediate member

Rank: 3Rank: 3

credits
322
Published in 2022-4-2 06:29:01 | Show all floors
That is a good write-up When i viewed on account of write about the item. Really it is what exactly I need to to discover trust with foreseeable future you might go on intended for giving a really fantastic write-up.        Sightseeing tours

0

threads

9

posts

28

credits

Novice

Rank: 1

credits
28
Published in 2023-9-19 12:59:28 | Show all floors
In the beginning of breakout game, there are eight rows of bricks, with two rows of each color. From the bottom up, the colors are yellow, green, orange, and red. The player has one ball and must hit as many bricks as possible with it by using the walls and/or the paddle below to hit the ball into the bricks and knock them down.

0

threads

42

posts

219

credits

Intermediate member

Rank: 3Rank: 3

credits
219
Published in 2024-2-10 00:02:52 | Show all floors
Addresses play a crucial role in our daily lives, serving as vital identifiers of physical locations. Whether it's for sending mail, ordering goods online, or navigating to a destination, addresses provide essential information for communication and logistics. In today's digital age, the significance of addresses extends beyond the physical realm, with websites like https://www.searchusapeople.com offering platforms to search and verify individuals' addresses efficiently. These online tools streamline the process of locating people and businesses, facilitating communication and connection across distances.


You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list