Linux DeepinThis forum is for the discussion of Linux Deepin.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
there's an option in dhcp to assign private subnet address when client can't get responce from dhcp server. I'm getting different behavior apparently when I connect network storage directly to eth port - the link would not establish with default automatic neither when manually enter ipv4 address.
I can't get my data from backup)!
is it a bug?
Ad-hoc network is typically known as link-local where an IP address is automatically assigned in the 169.254.xxx.xxx 255.255.0.0 network if a DHCP sever is not found. Without knowing what type of network storage like make/model it is difficult to provide much help. Is it capable of link-local addressing?
Most ethernet adapters are capable of auto detecting a connection but you might need to use a crossover capable if connecting a device directly to your computer. If you do not see the link lights illuminated on both adapters then a crossover cable is required. If they are illuminated then you should be able to configure static IP address on each device like:
192.168.0.1 netmask 255.255.255.0
and
192.168.0.2 netmask 255.255.255.0
it's auto-sensing on both NIC, and the cable I use worked when tried with Windows and Mageia 3 on that PC. Yes, the storage does get 169.154.x.x IP when there is no DHCP server to answer request - it's the default setting of it, and I can't change it right away 'cause I can't get to it)
anyway, when I change to such (169.254.y.y) address on the PC NIC, the GUI won't let me save it unless I enter gateway address. that's not absolutely necessary, but even when I enter NIC address as gateway connection wouldn't establish.
I found ahcpd package in repository, maybe I should use that somehow?
I was able to establish a connection via smb to that storebox
but it dropped after less than a minute. and the address I set for eth0 wasn't there then
tried several time, all the same, connection soon drops and address vanishes
I was able to establish a connection via smb to that storebox
but it dropped after less than a minute. and the address I set for eth0 wasn't there then
tried several time, all the same, connection soon drops and address vanishes
Since IP addresses don't disappear by themselves, this must be caused by a process running in the background.
Kill any instances of dhclient or dhcpcd and make sure NetworkManager isn't running.
yes, understandable, and it was actually what I suspected that some of the daemons initiates periodical check of network interfaces re-establishing when something is not suiting him. now he's angry with my blatant ifconfig assign)
suppose if I disable services you mentioned, then the reconnect would stop and ifconfig'ed address would remain.. and I'd also have to write a route for http to that device by its name (because I do not know it's IP)? still, even if that would work it won't be true solution, 'cos I'd mess with distro' services..
will try though
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.