Got it

I can\\\\\\\\\\\\\\\'t connect to internet from Atlas and access via USB cable type C

Created: Apr 27, 2021 09:31:57Latest reply: Apr 30, 2021 06:26:31 589 17 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Dear all,


I need help connecting my Atlas 200DK to the internet. how to configure the right IP?

I connect my atlas via USB type C and Network RJ45. I can't connect via USB(192.168.1.2), the terminal said "connection refused" however, I can connect to atlas via 192.168.0.2 but can't ping to yahoo.com for example.


Thank you


netplan atlas

That's my netplan in Atlas, how to set it into the right connection?

aa

Try to ping and failed

ssh

ssh via USB type C (192.168.1.2) but the connection refused


netplan in ubuntu

My netplan setting in ubuntu


ifconfig

And my ifconfig in ubuntu


All Answers
Hi ,It seems that ip router and USB both 192.168.1.x, they are conflicted.
I suggest you change route ip to other network segment ,such as 192.168.8.2 。
PC enp3s0 will be in 192.168.8.X;
then ping 192.168.1.2 which is Atlas200DK usb ip.
View more
  • x
  • convention:

Hi

However, as can be seen from the figure, this IP has been conflicted, and replacing a network segment should be able to solve it.

1. I assume that you already have a router, your PC has access to the Internet through the router, and your router currently has a network port, so please connect the development board to this network port with a network cable.

2. Log in to the development board using USB mode, and switch to root:

 ssh HwHiAiUser@host_ip 

For the Atlas 200 DK, host_ip defaults to 192.168.1.2 (USB connection).

 su root

3. Edit the interfaces file to configure dynamic IP allocation (make sure your router has DHCP capability enabled) : 

vim /etc/network/interfaces

 In the interfaces file, change the configuration of eth0 to the following two lines: 

auto eth0 

iface eth0 inet dhcp 

3. Restart the development board 

reboot 

After rebooting, the development board can be connected to the Internet. At this time, you can try Ping Baidu: 

ping www.google.com

Note: If you do not want to restart the development board, you can also execute the following command: ifdown eth0 

ifup eth0 

service networking restart 


I hope I can help you.

:)

View more
  • x
  • convention:

Posted by user_4147187 at 2021-04-29 08:54 HiHowever, as can be seen from the figure, this IP has been conflicted, and replacing a network segm ...
I can\\\\\\\\\\\\\\\'t connect to internet from Atlas and access via USB cable type C-3910945-1
View more
  • x
  • convention:

Posted by user_4147187 at 2021-04-29 08:54 HiHowever, as can be seen from the figure, this IP has been conflicted, and replacing a network segm ...
Hi, thankyouu :) I just setting my ip route manually to other address and eth0 automatically assign ip to 192.168.1.6
View more
  • x
  • convention:

Thankyou everyone for helping me :) I stuck at this problem for 3 days and now it works
View more
  • x
  • convention:

user_4147187
user_4147187 Created Apr 29, 2021 11:56:26 (0) (0)
 
Posted by windyxyz at 2021-04-28 07:12 Hi ,It seems that ip router and USB both 192.168.1.x, they are conflicted. I suggest you change r ...
Hi, thankyou :)

your answer was correct now after change my ip route I can connect to Internet from development board
View more
  • x
  • convention:

Greetings colleague. If the problem persists try to reset your device and see if you don't have any pending updates to the operating system.
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.