Red Hat Bugzilla – Bug 84282
ip command-line option -> network doesn't work
Last modified: 2008-01-17 12:49:42 EST
This one is driving me crazy.
If I use "linux method=ftp://myserver/mypath ip=126.96.36.199
netmask=255.255.255.0 gateway=188.8.131.52 dns=184.108.40.206" as my boot
parameters, anaconda ought to happily take all this and properly configure the
(Note to Jeremy Katz -- this is independent of my wish to be able to just
specify dns without ip. *grin*)
Instead, it goes to reverse-lookup the name and fails, because the network isn't
there. On vt 4, I see: "loader: failed to set up default route: Network is
I tried to debug this a bit, but I'm stumped. If I change
setupNetworkDeviceConfig to not set cfg->preset to 1, the newt form comes up
with all the info I gave properly filled out, and *everything works perfectly
when I say okay*.
As far as I can tell, the only non-newt-gui difference between the two code
paths is that fillInIpInfo gets called in the second case but not the first. I
thought -- hmm, maybe broadcast isn't getting set. But I added a call to
fillInIpInfo(cfg) right after "doing kickstart... setting it up", and it doesn't
So I'm missing something here. But what?
This is related to bug 82748 - looking into it now.
I'm going through Bugzilla closing some bugs that have been marked as Modified
for some period of time. I believe that most of these issues have been fixed,
so I'm resolving these bugs as Rawhide. If the bug you are seeing still exists,
please reopen this report and mark it as Reopened.